Skip to content

How would one search the virtualized list? #481

Answered by is-it-ayush
nemonemi asked this question in General
Discussion options

You must be logged in to vote

Hi @nemonemi! You should call a callback to find the item index in your data array. Then you can use scrollToIndex() from your virtualizer index as virtualizer.scrollToIndex(fooundIndex). This is from top of my head & not tested but should work.

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@dev-kml
Comment options

@is-it-ayush
Comment options

@dev-kml
Comment options

Answer selected by nemonemi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants