react-tailwindcss-select icon indicating copy to clipboard operation
react-tailwindcss-select copied to clipboard

:sparkles: Add props to control menu close on select

Open foysalit opened this issue 1 year ago • 0 comments

I noticed that originally, the dropdown was set up to close after every selection which was removed because of this request https://github.com/onesine/react-tailwindcss-select/issues/2 however, just like you @onesine , I find myself with a use-case where I want the dropdown to close after every selection even in isMultiple mode.

So, I figured, the best of both world would be to make this a configuration through props.

Here's a demo video showing it working from the demo page.

https://github.com/onesine/react-tailwindcss-select/assets/1919066/cd4809cf-ed09-4b59-8709-91ae1f7213da

foysalit avatar Dec 19 '23 22:12 foysalit