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

fix double tap zoom on iOS 13 #9757

Merged
merged 1 commit into from
Jun 8, 2020
Merged

fix double tap zoom on iOS 13 #9757

merged 1 commit into from
Jun 8, 2020

Commits on Jun 3, 2020

  1. fix double tap zoom on iOS 13

    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 committed Jun 3, 2020
    Configuration menu
    Copy the full SHA
    0319e42 View commit details
    Browse the repository at this point in the history