Skip to content

✨ Add props to control menu close on select #56

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

foysalit
Copy link

I noticed that originally, the dropdown was set up to close after every selection which was removed because of this request #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.

Screen.Recording.2023-12-19.at.23.33.26.mov

dahool added a commit to dahool/react-tailwindcss-select that referenced this pull request Jan 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant