hc-oss / react-multi-select-component

Lightweight (~5KB gzipped) multiple selection dropdown component
https://codesandbox.io/s/react-multi-select-example-uqtgs
MIT License
387 stars 89 forks source link

Close the dropdown options after selecting an option in the rmsc #712

Open suresh12397 opened 1 year ago

suresh12397 commented 1 year ago

I tried to use the rmsc component as a single select, but I want the dropdown to close after an option is selected. This should work only for the single select and not for the multi select.