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

Address mouse events over disabled form fields #43

Open
Boldewyn opened this issue Feb 17, 2017 · 0 comments
Open

Address mouse events over disabled form fields #43

Boldewyn opened this issue Feb 17, 2017 · 0 comments

Comments

@Boldewyn
Copy link
Contributor

This might be an interesting case to address for Hyperform: Try to fix the behaviour mentioned by @jakearchibald, tweet and blog post:

Turns out, mouse events don't fire when the pointer is over disabled form elements, except in Firefox.

and his proposed fix:

input[disabled],
button[disabled] {
  pointer-events: none;
}

This means disabled form elements cannot be interacted with, but it also solves the event issue.

We could implement that in a similar fashion to how we handled the button > span case in d855e6d.

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