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

Zooming with a touchpad zooms in on the entire page #52

Open
DiarmuidByrne opened this issue Sep 22, 2021 · 3 comments
Open

Zooming with a touchpad zooms in on the entire page #52

DiarmuidByrne opened this issue Sep 22, 2021 · 3 comments

Comments

@DiarmuidByrne
Copy link

When I zoom using the pinch to zoom on a laptop touchpad, it zooms both at the pan-zoom element level and the page level. Is it possible to prevent zooming at the full page level while the mouse is over a pan-zoom element?

@TimUnderhay
Copy link
Owner

@DiarmuidByrne Check out the index.html file in ngx-panzoom-demo at this link. IIRC, I think it solves it with this line: <meta name="viewport" content="width=device-width, initial-scale=1">. If not, https://stackoverflow.com/questions/4389932/how-do-you-disable-viewport-zooming-on-mobile-safari should hopefully solve it for you.

@cool-itkfm
Copy link

I have the same problem and unfortunately none of the suggestions is working

@Rajesh-Kiranum
Copy link

Rajesh-Kiranum commented Dec 30, 2021

Having same problem. When i use two finger pinch zoo in laptop then my entire page including header and menu bar also gets zoomed in along with pan-zoom panel in browser. Even demo page also shows same issue which is available for ngx-panzoom.

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

4 participants