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 Zoom Not Working #351

Closed
PrinceDhankhar opened this issue Aug 18, 2017 · 16 comments
Closed

Pinch Zoom Not Working #351

PrinceDhankhar opened this issue Aug 18, 2017 · 16 comments

Comments

@PrinceDhankhar
Copy link

First Let Me Thanks Timmy Willison

Hi Timmy, First of all on behalf of all the users of your plugin let me please thank you for putting all your efforts into making (And Continue Updating) this productive plugin.

Subject of the issue

Issues About Pinch Zoom On Touch Enabled Devices (Android, Win10, iOS). Please Try To Give Some Time And Give Us v3.2.3

Your environment

jquery.panzoom v3.2.2
jquery v3.2.1
Chrome v59

@agordiichuk
Copy link

The same for me :(

@jacquescrocker
Copy link

same here

@PrinceDhankhar
Copy link
Author

@agordiichuk @jacquescrocker Hopefully Timmy Will Understand Our Problem & Give Us Update...

@PrinceDhankhar
Copy link
Author

Hi @timmywil
Shall We Expect A Update Which Resolve This Problem Many of Us Experiencing?

@chris-huffman
Copy link

chris-huffman commented Aug 23, 2017

I found the pinch-to-zoom was not working in Chrome running on Android devices. (Though I did not test Chrome on other devices). This pull request seems to fix it.

@odai-alali
Copy link

@chris-huffman
tested it and unfortunately is not working, android Chrome 55

@PrinceDhankhar
Copy link
Author

@timmywil We know you are busy but please resolve this issue with pinch & zoom on touch enabled devices.

@DKastani
Copy link

The issue lies in the zoom function (lines 692 - 769). The scaling matrix (m) is initialized always with the default matrix [1 0 0 , 1 0 0] so it always zooms to 1.

For a quick fix I replaced the whole function with the previous version and got zooming and panning working in mobiles once again.

@PrinceDhankhar
Copy link
Author

Can you provide that working code.

@oliversierrab
Copy link

Having a similar issue but when pinching to Zoom Out after zooming in with a separated CTA. It pans instead on zoom out.

@DKastani can you share the working code you fixed ? Thanks

@maartendemandt maartendemandt mentioned this issue Sep 20, 2017
4 tasks
@maartendemandt
Copy link

see: https://github.com/Woela/jquery.panzoom

I reverted the commit that breaks zooming, and added a fix for double events (touch/pointer) on chrome.

I also requested pull requests for the issues (including this one), but that may take some time.

@tanthammar
Copy link

@maartendemandt THANK YOU
This fixed multiple issues for me, including pinch on iOS

@lorkel
Copy link

lorkel commented Jan 15, 2018

@maartendemandt THANK YOU!!

@daverodal
Copy link

@maartendemandt THANK YOU!! TOO, that fixed everything even my Lenovo windows 10 touch screen now works and that never did before. So thank you thank you thank you.

Is there an npm install for this?

@vbunjes
Copy link

vbunjes commented Mar 1, 2018

@maartendemandt thanks! works again

@ghost
Copy link

ghost commented Mar 16, 2018

Pinching is not working in iPad and mobile devices

Version:
Panzoom js - jquery.panzoom.js v3.2.2
jQuery - 3.3.1

Check the link:
https://prem-thinkdesign.github.io/medical-mdm/medical_codes_er.html

In iPad (ios devices) Dragging and pinch to zoom in and zoom out is not working.
In mobile devices (android devices) dragging is working but pinch to zoom in and zoom out is not working.
Even I tried what you have updated also, still not working...

@lock lock bot locked as resolved and limited conversation to collaborators Jan 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests