-
Notifications
You must be signed in to change notification settings - Fork 24.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FlatList] scrollToIndex will scroll over bottom #13594
Comments
Same problem, Did you find some solutions yet? |
Same problem, only for iOS. |
1 similar comment
Same problem, only for iOS. |
Anyone found a solution for this ? |
@facebook-github-bot no-template |
Hey, thanks for reporting this issue! It looks like your description is missing some necessary information, or the list of reproduction steps is not complete. Can you please add all the details specified in the Issue Template? This is necessary for people to be able to understand and reproduce the issue being reported. I am going to close this, but feel free to open a new issue with the additional information provided. Thanks! See "What to Expect from Maintainers" to learn more. |
Anyone have a good solution for this? |
I use FlatList to do something like mobile contacts, click alphabet index to jump first item start with alphabet.
But when I use
scrollToIndex
jump toZ
it will scroll over bottom, see below picture.this.flatList.scrollToIndex({animated: false, index: itemIndex, viewPosition: 0});
When I focus
FlatList
again, it will scroll to right position. see below picture.It has any option to control
scrollToIndex
not scroll over bottom? thanks.Additional Information
The text was updated successfully, but these errors were encountered: