-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
How I can use react-select with react-virtualized? #3613
Comments
I use react-select-async-paginate, by @vtaits |
This was referenced Sep 12, 2021
This was referenced May 13, 2022
This was referenced May 13, 2024
This was referenced May 22, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I use react-select with react-virtualized to generate the options dinamically. When I scroll down on component MenuList of my Async Select, I want to load more options. Of this way, I always have loaded a few Options on my DOM, but a thousand of options to select.
I use Apollo with GraphQL to fetch and fetch more results when the user scrolls down. MenuList uses InfintyLoader, AutoSizer and List components of react-virtualized.
How I can do this, keeping the Menu open and the scroll index when I fetch new options on MenuList? When fetchMore is launched, the MenuList is re-rendered and scrollIndex comes back to 0 (first option).
The text was updated successfully, but these errors were encountered: