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

Click/enter on controls inside a checkable widget shouldn't check the widget #55

Open
mgiuffrida opened this issue May 4, 2016 · 0 comments

Comments

@mgiuffrida
Copy link
Contributor

https://jsfiddle.net/u5m3zgxx/1/

In Chrome, clicking (or pressing Enter) on a <button> or <a> inside of a <label> for an <input> does not check the corresponding <input>.

Elements like paper-checkbox and paper-radio-button do not behavior this way; tapping the button will check the checkbox/radio-button.

Just using a <label> around a <paper-checkbox> instead of putting the content directly inside the <paper-checkbox>'s light DOM isn't great because the styling is different.

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

No branches or pull requests

1 participant