react-tailwindcss-select
react-tailwindcss-select copied to clipboard
:sparkles: Add props to control menu close on select
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