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

Pinch in Firefox does not work correctly #662

Open
swnf opened this issue Jan 29, 2024 · 0 comments
Open

Pinch in Firefox does not work correctly #662

swnf opened this issue Jan 29, 2024 · 0 comments

Comments

@swnf
Copy link

swnf commented Jan 29, 2024

Describe the bug

A Firefox bug causes one pointer to "freeze" during a pinch gesture. This causes pinch in panzoom to work incorrectly. The easiest solution for this is to not call preventDefault() (which can have side effects depending on overflow/touch-actions/meta viewport).

Your environment

  • Version of panzoom: 4.4.4
  • Browser and browser version: Firefox Android 122

Expected behavior

Zoom should work like in other browsers.

Actual behavior

Pinch gestures on Firefox zoom less than expected. Sometimes the scale makes large jumps during a pinch gesture.

Steps to reproduce

This bug can be reproduced in the panzoom demo. Zoom in or out on a Firefox device using touch gestures. Hold your fingers on the screen until the scale of the image suddenly changes. If you cannot reproduce it, try to slightly move one finger after the pinch gesture while keeping the other stationary.

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

1 participant