bigSlide.js icon indicating copy to clipboard operation
bigSlide.js copied to clipboard

Nav causing zoom out on mobile

Open ascott1 opened this issue 12 years ago • 6 comments

The nav on the demo causes the browser to zoom out. Initially I thought this was tied to an incorrect meta viewport tag, but that doesn't seem to be the case.

ascott1 avatar Nov 01 '13 01:11 ascott1

Whoops. This was just an error with the meta viewport tag in the demo.

ascott1 avatar Nov 04 '13 11:11 ascott1

What was the viewport tag that was causing this? I'm experiencing the same issue.

amirkhan81 avatar Mar 23 '15 19:03 amirkhan81

@amirkhan81 Make sure you have a viewport meta tag such as:

<meta name="viewport" content="width=device-width, initial-scale=1">

Hope that helps!

ascott1 avatar Mar 23 '15 20:03 ascott1

Having the same issue, my viewport is as follows:

meta name="viewport" content="width=device-width, initial-scale=1.0,maximum-scale=1.0,user-scalable=no"

Tried your code, still happened. I think it's a ios 9 thing, I never noticed it before. It's quite severe on the 6.

jahrichie avatar Dec 24 '15 04:12 jahrichie

I think you're looking for the shrink-to-fit-no option, here's my meta tag:

meta name="viewport" content="width=device-width, initial-scale=1.0,maximum-scale=1.0,user-scalable=no,shrink-to-fit=no"

jahrichie avatar Dec 24 '15 16:12 jahrichie

Reopening as this does appear to be an issue in iOS 9. Thans @jahrichie!

ascott1 avatar Jan 02 '16 21:01 ascott1