Reset caching when item size(height) is changed #1125
Replies: 1 comment
-
update to 4.9.0 and fixed with skipAnimationFrameInResizeObserver |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a case where dynamically the item size is changing and i need to reset the cached items that have old item size.
Example: on first render the item have a height of 250px but when i do a action the height of that item is now 450px.
If the user has already scrolled a couple of items with the initial size of 250px and then changes the item to be 450px and tries to scroll up the cached items have the old size and when they get inside view they are recalculated and jumping items are happening.
How can i reset the cache of the already scrolled items ?
Beta Was this translation helpful? Give feedback.
All reactions