Is there a way to make the responsive lightbox work with pinch-to-zoom on mobile devices?
I am attempting to enable pinch-to-zoom on my theme, but it seems that whatever lightbox style I chose, it causes the page to crash when I actually pinch to zoom in. It does not crash when I disable pinch-to-zoom on my theme.
I use Boardwalk theme with responsive lightbox SwipeBox.
I figured the way to get zoom/pinch working was to change this line in my theme’s header:
<meta name=”viewport” content=”width=device-width, initial-scale=1″>
With only c’n’p skillz I found below lines and replaced above line to:
<meta name=”viewport” content=”width=device-width; initial-scale=1.0; maximum-scale=2.0; user-scalable=1;” />
and also tried:
<meta name=”viewport” content=”user-scalable=YES” />
..both crashed the mobile css and desktop css was activated.