Open rvion opened 2 years ago
and thanks for making this library open source 👍 !
Good point @rvion, usually a single select need this prop after selecting an option, but in multi-select users need to open the options panel. By default it's true but it should be false. Thanks for notify.
could closeOnSelect also be resepected with multiselect ?
I'd like to keep the ability to have multiple option selected, while simultaneously closing the popup after each select, because I believe most users will only want one value. Since the dropdown is hiding contents below, closing instantly avoid users to have to move the mouse away, and click once.
looking at:
https://github.com/Arif-un/react-multiple-select-dropdown-lite/blob/eebea0cc75fc350109e8e2277625670af247e45a/src/MultiSelect.jsx#L164
I can't think of any strong reason to restrict this option in the case of multiSelect.