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
Describe the bug
When a SpatialNavigationVirtualizedList has a scrollBehavior of stick-to-end or jump-on-scroll, as the items are scrolled before it reaches the end, previous items are removed from the render list and are no longer shown when they should still be on screen.
It seems the behavior of stick-to-start is still applied as the items are moved and removed in the same way in that view. The only difference is in stick-to-start the list is scrolled
Expected behavior
Items should continue to be rendered until the end of the visible list is hit, the items move, and then any items not shown on the screen can be removed.
Screenshots
Version and OS
Library version: [3.5.0]
React Native version: [0.72.0]
OS web
The text was updated successfully, but these errors were encountered:
In that case, the scroll works mostly as expected, but the top item disappears / is removed as the animation is happening. Setting numberOfRenderedItems={32} resolves the issue completely in my example. However that does affect lazy loading data and could impact performance
Describe the bug
When a
SpatialNavigationVirtualizedList
has ascrollBehavior
ofstick-to-end
orjump-on-scroll
, as the items are scrolled before it reaches the end, previous items are removed from the render list and are no longer shown when they should still be on screen.It seems the behavior of
stick-to-start
is still applied as the items are moved and removed in the same way in that view. The only difference is instick-to-start
the list is scrolledTo Reproduce
Expected behavior
Items should continue to be rendered until the end of the visible list is hit, the items move, and then any items not shown on the screen can be removed.
Screenshots
Version and OS
The text was updated successfully, but these errors were encountered: