StartBootstrap / startbootstrap-simple-sidebar

An off canvas sidebar navigation Bootstrap HTML template created by Start Bootstrap

Home Page:https://startbootstrap.com/template/simple-sidebar/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

content doesnt go off screen on mobile in ios9 - shrinks instead

rvrtnce opened this issue · comments

I upgraded to ios9 today and now when I toggle the menu on my iPhone instead of the page-content shifting off-screen to the right when the menu comes out everything shrinks and the menu and all my content shows on the page.

When I first load the page if I pinch and zoom slightly then release and allow it to go back to fullscreen then hit then menu icon - it works fine.

I have the same issue with the demo as well as my version.

Ideas?

This is the same issue as #16, I think. It's been brought up on the Apple Developer Forums. The solution is to add shrink-to-fit=no to the viewport meta tag. For example, this works for me: <meta name="viewport" content="width=device-width shrink-to-fit=no">. I've made a pull request, I hope @davidtmiller will accept it!

That was it. Thank you so much.

Hey @brortao thanks for the fix. I will get this added soon.

Added this in!