react-select
react-select copied to clipboard
Creatable Dropdown is very slow if you have a lot of items
Hi, first of all, thanks for the nice library!
I'm having a problem, that the component is very slow if I use a lot of data, like 500 items. Scrolling and filtering on typing is good, but if I hover on some items, then it renders very slow.
[Violation] 'mousedown' handler took 236ms [Violation] 'mousedown' handler took 213ms
<CreatableSelect
value={selectedSkills}
onChange={(values) => {
setSelectedSkills(values.map((value) => {
return { value: value.value, label: value.value }
}))
}}
isMulti
name="colors"
options={ skillsList }
className="basic-multi-select"
classNamePrefix="select"
/>
I'm using the latest react-select version 5.2.1
Fixed the issue with custom MenuList from: https://github.com/JedWatson/react-select/issues/3128 But I cannot believe that the issue is known since 2018 and is still not fixed.