Open
Description
openedon Sep 2, 2022
Hi, thank you for this great lib !
I would like to replace Flatlist with it on our app but I'm facing an annoying bug with scrollToIndex.
Current behavior
On Android or iOS, when using scrollToIndex on large list (around 500 items), once the scrollToIndex is done, when I scroll up, the scroll is very choppy. scrolling dow is fine.
iOS : iPhone 12 Pro max : https://imgur.com/a/kf5zvBC
Android : Samsung Galaxy S7 : https://imgur.com/a/fwBBlUt
Expected behavior
Scrolling up should be fluid.
To Reproduce
this.listRef.scrollToIndex({animated:false, index: index})
Adding a setimeout is not helping.
Platform:
- iOS
- Android
Environment
"@shopify/flash-list": "^1.2.1"
Thank you for your help.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment