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

on-click/tap still works if disabled is true. #21

Open
matthiasgoossens opened this issue Jan 30, 2019 · 1 comment
Open

on-click/tap still works if disabled is true. #21

matthiasgoossens opened this issue Jan 30, 2019 · 1 comment
Labels

Comments

@matthiasgoossens
Copy link

The on-tap event still works if you have disabled attribute set to true.
Don't know if this is expected behavior?

@fxedel
Copy link
Owner

fxedel commented Jan 30, 2019

Correct. For example, the paper-icon-button component sets pointer-events: none when disabled to avoid the click event being fired. I'll add this after migrating to Polymer 3.0 (#20) – shouldn't be that complicated.

@fxedel fxedel added the bug label Jan 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants