Skip to content Skip to sidebar Skip to footer

Mobile Viewport Zoom Back

I want to allow the user to zoom when he clicked on an image and I don't want to allow him to zoom if there is no image. // image function viewport = document.querySelector('meta[

Solution 1:

Don't change the viewport. There is a better way to achieve the same thing -> http://lab.hakim.se/zoom-js/

I'm sure that if you play with the viewport like that you will have problems in most of the mobile devices.


Post a Comment for "Mobile Viewport Zoom Back"