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

In Firefox, oninput doesn't work on wl-slider. #78

Open
Lattyware opened this issue Jun 29, 2019 · 1 comment
Open

In Firefox, oninput doesn't work on wl-slider. #78

Lattyware opened this issue Jun 29, 2019 · 1 comment

Comments

@Lattyware
Copy link

Lattyware commented Jun 29, 2019

If you attach an event handler to wl-slider for the input event in Firefox (67.0.4), nothing happens when changing the slider.

This works as expected when tested in Chrome. I did check and the underlying input does fire the event when tested in Firefox.

Edit: Still true as of Firefox 71.

Example: https://jsfiddle.net/mL95stg6/ works in Chrome, not in Firefox.

I took a deeper look, and it looks like Firefox sets composed to false for input events when an input has type range. I have raised a bug, as this seems at odds with other implementations and what I can see of specs out there.

For compatibility, it would still be nice to have the slider re-dispatch events (as with the invalid event, for example).

@Lattyware
Copy link
Author

This is fixed in the browser as of Firefox 72, but in terms of legacy-support this issue stands.

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