Unexpected scroll behavior when itemSize is automatically estimated #500
mariia-mitiureva
started this conversation in
General
Replies: 1 comment 1 reply
-
In auto estimation mode, default item size will be estimated when the sum of item sizes exceed the viewport size for the first time. Probably the size of the huge one item was treated as default size in that situation. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I noticed some weird behavior, not sure if it's an issue or not.
I modified Chat default story like this
So, on the first render, there is one big item in the list, after a few seconds some smaller items are prepended. After that, if I scroll up just a bit, scroll will jump to the very top
Screen.Recording.2024-08-22.at.17.39.28.mov
The issue can be fixed by setting
itemSize
to some small number, 30 for example. Is it expected or is there some issue with automatically estimated item size? I see, that it's recommended to rely on automatically estimated sizes..Beta Was this translation helpful? Give feedback.
All reactions