You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 19, 2024. It is now read-only.
Go to live demo above, click / tab focus to the button and press enter a few times, observer console says "tapped".
Drag the knob with mouse (do not click anything else on the page after letting go)
Tab one time to focus the button.
Press enter a few times, notice that the console does not say "tapped" anymore.
Doing the following seems to un-break the page.
5. Mouse click on the button, observe that console says "tapped" again.
6. Press Enter while focus is on the button, observe that issue goes away and console says "tapped" again.
Browsers Affected
Chrome is affected, haven't tested on other browsers yet.
The text was updated successfully, but these errors were encountered:
So, the track gesture will disable tap to prevent accidental taps. This is usually ok because tap resets the "prevent" flag on any mousedown or touchstart. However, the Enter key will only send a click event, which does not cause the state machine to reset. Probably just need to add a keydown listener to tap gesture to reset.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Description
After dragging knob with mouse, keyboard tap events will stop working on rest of page.
Expected outcome
Dragging knob with mouse does not interfere with subsequent keyboard taps on the rest of the page.
Actual outcome
After dragging the knob with the mouse, the rest of the page will stop responding to keyboard taps.
Live Demo
https://jsfiddle.net/2q3fqehz/167/
Steps to reproduce
Doing the following seems to un-break the page.
5. Mouse click on the button, observe that console says "tapped" again.
6. Press Enter while focus is on the button, observe that issue goes away and console says "tapped" again.
Browsers Affected
Chrome is affected, haven't tested on other browsers yet.
The text was updated successfully, but these errors were encountered: