Zoom doesn't work properly on mobile when both fingers touch the screen simultaneously
Describe the bug Zoomin-In/Out won't work properly when a user touches a mobile device's screen with two fingers at the same time,
Expected behavior Immedita response and smoth Zooming-In/Out
Smartphone (please complete the following information):
- Device: iPhone 13, tablet
- Browser : safar, chrom
We are having the same Issue since this commit: https://github.com/BetterTyped/react-zoom-pan-pinch/commit/9525dbbae52f79aec452ad71e597cc830f15426b
We use this Dependency inside of Electron and embedded Chrome.
"electron": "30.0.9",
Can confirm this is an issue here too since i just updated.
Thanks, will it be resolved soon ?
I had the same problem with a 3.6.1 version, I changed to 3.4.4 and it worked well. Something changed between that two version.
I'm also having pinch problem on 3.6.1 with Android Chrome 126.0.6478.122. 3.6.0 was fine though.
We're back on 3.4.4 as well to avoid this issue for our project.
Going back to 3.4.4 solved this problem, thanks!!
Pinch zoom didn't work at all in android when I was using ^3.6.1 and going back to older versions fixed it.
Important note: when rolling back from 3.6.1 to 3.6.0, entry in package.json should be: "react-zoom-pan-pinch": "3.6.0", NOT "react-zoom-pan-pinch": "^3.6.0", I have a generalized idea of why this is the case, but would appreciate if someone could offer a specific explanation.
Another note: creating a test app using npx create-react-app my-app will also produce failure of pinch-zoom on mobile.
I encountered the same issue, so I submitted a PR to fix the issue. https://github.com/BetterTyped/react-zoom-pan-pinch/pull/499
I'm also having pinch problem
We are using the fork now for a while, seems to work fine.
Rolled back to 3.6.0 and it works just fine. Keep in mind that you have to write it without "^" and just in case reinstall node modules
still having the same issue even with version 3.6.0 or 3.4.4 😞 is there a plan to fix this?
Important note: when rolling back from 3.6.1 to 3.6.0, entry in package.json should be: "react-zoom-pan-pinch": "3.6.0", NOT "react-zoom-pan-pinch": "^3.6.0", I have a generalized idea of why this is the case, but would appreciate if someone could offer a specific explanation.
Another note: creating a test app using npx create-react-app my-app will also produce failure of pinch-zoom on mobile.
I am having an old CRA app and this is true the pinch doesn't work immediately on mobile! Rolling back to 3.6.0 fixed the issue for me..
I encountered the same issue, so I submitted a PR to fix the issue. #499
This worked fine for me!
Why this is not integrated yet? This bug is 7 months old! @prc5, please, It's a very simple fix! 🙏
Can we confirm this bug is fixed by #499 ?
I can confirm version 3.7.0 fixes my zoom issue!