-
-
Notifications
You must be signed in to change notification settings - Fork 81
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
Event input:start fired twice for single click #209
Comments
Also I believe |
Hey, thanks for the report! Unfortunately I don't have the time to look into this at the moment... My best guess is that this is because I'm adding event listeners for both mouse events and the equivalent touch events, and they're both firing with user input. Might be time to move to pointer events (if browser support is consistent yet?) or perhaps just cancel one event if the other has just been fired. If someone could look into it and confirm this, it would be super appreciated :) |
Hi, looks like only I also didn't have time to go deeper but |
If you single click on an
iro.ui.Box
(not on the handle) theinput:start
event is fired twice. Please see this pen:https://codepen.io/RickMohr/pen/ExXXrOB
Open the console, and click on the box -- "input:start" is printed twice.
( It is correctly printed only once if you drag the box's handle or interact with the slider instead of the box.)
The text was updated successfully, but these errors were encountered: