Open magnh opened 1 month ago
This makes sense as the select all "item" is injected into the rest of the options and handled by the virtualizer. I remember @yusijs tried a bunch of stuff and this was the solution that played nice with the virtualizer. We'll have to take another look if there is something we can do here about this 👍
Great, thank you @oddvernes 💯
Describe the bug
When you have 30 items or more, the Select All option disappears when scrolling. I assume the issues is caused by
useVirtualizer
removing the option.https://codesandbox.io/p/sandbox/eds-autocomplete-select-all-disappearing-xrn9qm
Steps to reproduce the bug
Expected behavior
It should not disappear.
Specifications
Additional context
https://codesandbox.io/p/sandbox/eds-autocomplete-select-all-disappearing-xrn9qm