[v2] react-select didn't work for long lists
See original GitHub issueHi there
I’m testing out react-select v2 and I noticed performance issues once when I have a long lists of 300,000 items. I wanted to know if there is any interest to build in something like react-virtualized
into react-select
so users can scroll through long lists without jank or is this out of scope of this project.
Thanks.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:8
- Comments:37 (1 by maintainers)
Top Results From Across the Web
React-Select not showing options - Stack Overflow
If I inspect the select component the options prop is filled, but the options aren't being displayed. I've tried both an array of...
Read more >Styles - React Select
Styles. React Select offers 3 main APIs for styling: The styles prop; The classNames prop; The classNamePrefix prop ...
Read more >React key attribute: best practices for performant lists
Looking into how React "key" attribute works, how to use it correctly, how to improve performance of lists with it, and why array...
Read more >Programmatically Add New Options To Dropdown ... - YouTube
In this video, I will show you how to programmatically add a new item to the select list using react select creatable. React...
Read more >React Select Components Library - OnAirCode
Your application deserves a good select option with react selectors ... 2. React-Select. So we didn't have to wait too long for selection ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@bvaughn https://codesandbox.io/s/lxv7omv65l
Another small issue with @tmacdonald solution is that the menu doesn’t shrink when there’s small amount of options when typing in the search box.
PS: I slightly modified the solution with
VariableSizeList
to account for option groups