-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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 to zoom in does not work on iOS 13 #9756
Labels
Comments
ansis
added a commit
that referenced
this issue
Jun 3, 2020
fix #9756 iOS 13 does not fire the second touchstart/end events in a double tap if the touchstart listener is non-passive. This fix makes it passive. Calling preventDefault() allows the second event to be fired but suppresses other events like `click`. `touchmove` needs to remain non-passive so that it can be used to prevent touches from scrolling or scaling the page on some versions of iOS Safari.
ansis
added a commit
that referenced
this issue
Jun 8, 2020
fix #9756 iOS 13 does not fire the second touchstart/end events in a double tap if the touchstart listener is non-passive. This fix makes it passive. Calling preventDefault() allows the second event to be fired but suppresses other events like `click`. `touchmove` needs to remain non-passive so that it can be used to prevent touches from scrolling or scaling the page on some versions of iOS Safari.
ansis
added a commit
that referenced
this issue
Jun 8, 2020
fix #9756 iOS 13 does not fire the second touchstart/end events in a double tap if the touchstart listener is non-passive. This fix makes it passive. Calling preventDefault() allows the second event to be fired but suppresses other events like `click`. `touchmove` needs to remain non-passive so that it can be used to prevent touches from scrolling or scaling the page on some versions of iOS Safari.
ansis
added a commit
that referenced
this issue
Jun 8, 2020
fix #9756 iOS 13 does not fire the second touchstart/end events in a double tap if the touchstart listener is non-passive. This fix makes it passive. Calling preventDefault() allows the second event to be fired but suppresses other events like `click`. `touchmove` needs to remain non-passive so that it can be used to prevent touches from scrolling or scaling the page on some versions of iOS Safari.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
mapbox-gl-js version: 1.10.1
browser: iOS Safari 13
Steps to Trigger Behavior
Link to Demonstration
https://docs.mapbox.com/mapbox-gl-js/example/simple-map/
Expected Behavior
Map zooms in.
Actual Behavior
Map does not zoom in.
The text was updated successfully, but these errors were encountered: