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

Add synthetic dblclick for MS Edge with mouse #5267

Closed
wants to merge 2 commits into from

Conversation

perliedman
Copy link
Member

As I understand it, MS Edge never fires dblclick, neither for mouse or touch, so the fix in Edge is to always fire synthetic dblclick, no matter the source of the PointerEvents.

Also, we had an issue where a previous double tap would set the DoubleTap handlers internal state as if in a double tap, but it where never reset, so mouse events would later fire synthetic dblclicks. This PR resets the doubleTap status after firing a dblclick to avoid keeping an old state around.

I've verified this in with mouse and touch in Edge 14, Chrome 55 and Firefox 41 on Win10.

Also, reset doubleTap status after firing a dblclick to avoid
keeping an old state around.

Close #5180.
@IvanSanchez
Copy link
Member

See also #5268, an alternate approach to the same problem.

@perliedman
Copy link
Member Author

Closed in favor of #5268.

@perliedman perliedman closed this Jan 23, 2017
@perliedman perliedman deleted the synthetic-dblclick-edge-mouse branch January 23, 2017 10:03
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

Successfully merging this pull request may close these issues.

None yet

2 participants