We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Is it possible to scroll to a specific y position with the scrollToLocation method of a SectionList?
scrollToLocation
Can I do this:
ref.current.scrollToLocation({ animated: true, itemIndex: 0, sectionIndex: 0, viewOffset: positionY })
Where positionY could be a position on any section and any item of the entire SectionList
0.62.5
Is that going to work? Because I read an issue where some people where asking for an implementation of scrollTo or scrollToOffset
scrollTo
scrollToOffset
The text was updated successfully, but these errors were encountered:
Okey I test it and it didn't work. Is there any way to scroll to specific y position on a SectionList ?
SectionList
Sorry, something went wrong.
I will close it because it work doing:
if (sectionList.getScrollResponder()) { sectionList.getScrollResponder().scrollTo({ animated: false, y: positionY, }); }
No branches or pull requests
Description
Is it possible to scroll to a specific y position with the
scrollToLocation
method of a SectionList?Can I do this:
Where positionY could be a position on any section and any item of the entire SectionList
React Native version:
0.62.5
Is that going to work? Because I read an issue where some people where asking for an implementation of
scrollTo
orscrollToOffset
The text was updated successfully, but these errors were encountered: