How to filter items in a virtual list #290
Unanswered
YarivGilad
asked this question in
Q&A
Replies: 1 comment 1 reply
-
How about this:
|
Beta Was this translation helpful? Give feedback.
1 reply
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.
-
Hi.
I'm trying to find a simple example of typing some string to text input and filtering a list of items using react-virtual.
As of now, I filter the original array, while the loop runs on the rowVirtualizer.virtualItems array, and display the filtered item in their original position in the unfiltered list. this is buggy... what am I missing? my guess is there should be a way to "force" a re-calculation of the virtual list since now it is shorter and we need to re-render. Any ideas?
Beta Was this translation helpful? Give feedback.
All reactions