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

Double tap breaks on iOS 13.5 #828

Closed
szilardszaloki opened this issue May 31, 2020 · 4 comments
Closed

Double tap breaks on iOS 13.5 #828

szilardszaloki opened this issue May 31, 2020 · 4 comments

Comments

@szilardszaloki
Copy link

Hi there,
Double tap breaks on iOS 13.5 (Safari, Chrome, Firefox, Opera) with HTML5 canvas element. Out of curiosity, I checked with Edge for iOS as well and surprisingly it works.

@taye
Copy link
Owner

taye commented Jun 1, 2020

Can you try calling interact.pointerMoveTolerance(5) to see if that makes any difference?

@szilardszaloki
Copy link
Author

I've just checked it, it doesn't help.
It looks like all touch events are broken in general by the way. Even touchstart's event handler doesn't get called the second time when a double tap occurs (the default double tap zoom is triggered though). I might move on to other gestures temporarily, as long as Apple fixes their broken iOS release.

@szilardszaloki
Copy link
Author

Hi @taye,
In case you're about to fix it: calling preventDefault() on the touch event itself solves the issue.

@taye taye added this to Unscheduled in Roadmap via automation Jun 13, 2020
@AlwaysAwake
Copy link

@szilardszaloki
Isn't it related to Webkit bug?
I found some issues that might be related to this "Skipping Second Touch" behavior in Webkit Bug Tracker.

ezgif com-optimize

This bug seems to be starting from iOS 13.4.1 and It's still happening even in 13.6.1
Please see repro here.

@taye taye closed this as completed Feb 6, 2021
@taye taye removed this from Unscheduled in Roadmap Feb 6, 2021
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

3 participants