You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you create a VariableSizeList and scroll to a certain element in it using listRef.current.scrollToItem(200); then attempt to scroll up, there is a very visible jitter. I believe this happens because components of dynamic height are rendering and being upserted into the DOM above where the user is currently positioned.
The components I'm working with a dynamically sized, unlike into the demo on the docs where each element in the variable list has its heighted pre-calculated.
I'll create a minimum-reproducible-demo shortly!
The text was updated successfully, but these errors were encountered:
EDIT: The major clutter is gone (before I had messages flying around and incorrect persistent heights for some reason), now there is a tiny bit of clutter for a few milliseconds, I don't know if my approach is the most ideal to begin with. Looking forward to your solution.
The clutter is mostly gone doing what I mentioned above:
If you create a
VariableSizeList
and scroll to a certain element in it usinglistRef.current.scrollToItem(200);
then attempt to scroll up, there is a very visible jitter. I believe this happens because components of dynamic height are rendering and being upserted into the DOM above where the user is currently positioned.The components I'm working with a dynamically sized, unlike into the demo on the docs where each element in the variable list has its heighted pre-calculated.
I'll create a minimum-reproducible-demo shortly!
The text was updated successfully, but these errors were encountered: