-
Notifications
You must be signed in to change notification settings - Fork 72
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
Go-to #51
Comments
Hi. That is possible for Flatlist using https://reactnative.dev/docs/flatlist#initialscrollindex or https://reactnative.dev/docs/flatlist#scrolltoindex For that firstly you should somehow in your code identify index of item (of data you passed) to navigate, and then pass to Timeline custom options. For example to start from item index 3 you can pass As this component based on Flatlist, you can pass custom props to it with options object like that
|
Awesome -- will definitely give it a try. Thank you, Eugnis! |
In your |
Nevermind -- I figured it out! ;P Just pass the |
Great component!!
Is there a way of navigating directly to a section of the timeline? Let's say that I want to display a full timeline but would like to start the user at "Today", which may be anywhere along the flatlist. Or if from somewhere in the app I want to link/navigate directly to a section of the timeline. I couldn't find documentation
Thank you
The text was updated successfully, but these errors were encountered: