-
Notifications
You must be signed in to change notification settings - Fork 329
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
<select> inside a <label> #253
Comments
Forget everything I just said. I went and did some testing and found that when you click on a label it triggers a second event from it's control element. A simple check to ignore this click makes the dropkick work as intended. If you, or anyone can suggest more elegant solutions, |
I've edited my previous answer because I found a solution and will push it once I fix a similar issue with ancestor labels not focusing the dropkick element. |
Check out develop to see if this fixes your issue. |
Yep, works as expected now, awesome ! |
On our website we had a few selects embed inside a label.
When you click the label it is supposed to focus the dropdown, but right now it doesn't do anything and worse, it prevents the dropkick from opening has it triggers a click event on the underlying , and then closes all the open dropkicks.
The text was updated successfully, but these errors were encountered: