Skip to content
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

Close on select bug #312

Open
pepies opened this issue Mar 15, 2024 · 1 comment
Open

Close on select bug #312

pepies opened this issue Mar 15, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@pepies
Copy link

pepies commented Mar 15, 2024

https://codesandbox.io/p/sandbox/react-dropdown-select-forked-frsd5x?file=%2Fsrc%2Findex.js%3A19%2C11

Hello, If dropdown input is wrapped in <label> html5 element closeOnSelect no longer closes.

@sanusart sanusart added the bug Something isn't working label Mar 18, 2024
@jmluy
Copy link

jmluy commented Jul 18, 2024

It will work if you add the htmlFor in the label.

#194 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants