Replies: 2 comments
-
You can save a ref to the LegendList and call scrollToIndex on it. See https://github.com/LegendApp/legend-list/blob/main/example/app/accurate-scrollto/index.tsx as an example. Is that what you're looking for? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks a lot for your answer, |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I have a screen showing 5 items (I don't have more items in the list) so they all show well. Those items are events with dates in chronological order.
I'd like to be able to scroll up to hide some items above the top of the screen, both manually from the user perspective and programatically to hide past events above when a button is clicked.
I can't figure out how to configure the list to allow for scroll up and hide some items.
Any help would be much appreciated.
Beta Was this translation helpful? Give feedback.
All reactions