nir9 / itemslide

JavaScript Touch Carousel Library with Zero Dependencies
https://itemslide.org
MIT License
647 stars 85 forks source link

Pinch to zoom #61

Closed chocolata closed 8 years ago

chocolata commented 8 years ago

Hi

Is there any way to enable pinch to zoom on mobile devices? In my application, my users sometimes want to zoom into an image in the itemslide carousel. I notice that this is not possible. I've tested on Android and iPhone.

Take for example https://itemslide.github.io/ If you try to zoom in, it will not work. Any idea's?

chocolata commented 8 years ago

Any update on this?

nir9 commented 8 years ago

You can't zoom in the carousel because it causes problems with the swiping, but you can remove this meta line and enable zooming in any other area in the page: <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0" />

chocolata commented 8 years ago

Okay, thanks!

Op za 4 jun. 2016 14:12 schreef Nir Lichtman notifications@github.com:

You can't zoom in the carousel because it causes problems with the swiping, but you can remove this meta line and enable zooming in any other area in the page:

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/itemslide/itemslide.github.io/issues/61#issuecomment-223752358, or mute the thread https://github.com/notifications/unsubscribe/ADaySvZJxolPg-cNl2y9gEd3saO2lxd_ks5qIWuUgaJpZM4InSEk .