-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Closed
Description
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).
Metadata
Metadata
Assignees
Labels
No labels