JedWatson / react-select

The Select Component for React.js
https://react-select.com/
MIT License
27.63k stars 4.13k forks source link

AsyncSelect with multiselect with closeMenuOnSelect unexpectedly closes menu. #5508

Open kpustakhod opened 1 year ago

kpustakhod commented 1 year ago

Async Multi Select dropdown is collapsed when click on checkbox label in custom components.Option component, that should not be expected when using closeMenuOnSelect={false} hideSelectedOptions={false}.

Code example: https://codesandbox.io/s/codesandboxer-example-forked-zhpeew?file=/example.tsx

Recording:

https://user-images.githubusercontent.com/16884481/206494633-9ee9b028-fa20-416b-98fb-fc719199b876.mov

mandeerson commented 1 year ago

+1

ashatat commented 8 months ago

facing same issue

kmdtqm commented 4 months ago

seems like this is still a problem, as we are seeing the same. With async loaded content of the dropdown, it closes when multiselect is turned on, and closeMenuOnSelect is set to false

gormonn commented 3 months ago

+1, but without multiselect