Replies: 2 comments 1 reply
-
I'm not sure how to deal with this yet so I'll be the first to say that this is an edge case the library doesn't handle right now. We might address this in the future, pending some more investigation into the issue. |
Beta Was this translation helpful? Give feedback.
-
For others who stumble on this, I had this same use case where I was using The relevant lines are
What you can do is create your own copy of |
Beta Was this translation helpful? Give feedback.
-
When the parent container is scaled down (i.e. something like
transform: scale(0.4)
), the overscan does not work correctly. Rows and columns at the bottom / to the right are not rendered, I suppose because the calculation assumes they are not visible yet.I have adjusted the example CodeSandbox for this scenario:
https://codesandbox.io/s/amazing-chandrasekhar-wivbo
You can see the issue with the grid:
Is there any recommended way how to configure
useVirtual
for such cases, or is this simply a bug in the calculation?Beta Was this translation helpful? Give feedback.
All reactions