Nested vistualizers #861
-
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Each nested list needs to have the correct |
Beta Was this translation helpful? Give feedback.
-
@suryaashish-tyke I saw your question here and it looks somewhat similar to what I've been trying to do. I'm assuming the blue bits are also intended to be virtualized? Did you have any luck with your implementation? I've been having issues with scroll when trying to nest virtualizers like this. Any pointers would be helpful! Link to my thread with a code sample: #876 |
Beta Was this translation helpful? Give feedback.
Found the issue @piecyk , @johnhok
In my case the div which holds the scrollable container, is conditionally rendered and the initial ref being
null
the contents are not getting rendered(since there is no container(ref))With this change now whenever the
VirtualList
is rendered the ref will be attached and having a value.