Bootstrap 3 - Heads up, mobile safari messing up on orientation change
I've been messing around with Bootstrap 3 on some templates just to see how they react.
I have tested in Windows phone yet, but in Mobile Safari on orientation change the site doesn't react properly and reset itself. It's actually happening in the docs as currently listed today.
I looked at /docs/examples/justified-nav.html on an ipad. On initial load in either portrait or landscape, everything is fine. But on orientation change, either the margin is off or the site is zoomed in strangely.
I'm not having this issue when using the responsive template in 2.3.1, so I just wanted to give a heads up to test that while you're working.
Before:
After:
Yup, the examples are still on our todo list to fix up.
UPDATE******
http://tech.bluesmoon.info/2011/01/device-width-and-how-not-to-hate-your.html
UPDATE*********
seems to only be on landscape ---> portrait and vice versa. The site will first load and be displayed correctly. Once orientation changes- bug is there.
if you implemented
, then you will not be able to get the size back. so pick your poison.//////
iOS7, Safari seems to have this issue. Any emulator for just the media query to be displayed, will show correctly.

i'm having this issue as well. at first i thought it was some elements on the page properly unstyled.. spent hours debugging and then tried opening the bootstrap website, and it has the same problem.
at least a bit relieved it wasn't entirely me :)
if anyone could suggest a fix it would be great!
cheers j
I'm getting an issue in my app as well where an orientation change does not cause the body of the page to relayout. This also happens on the bootstrap web site today. Tried on both iPhone 4S and iPad 3. Mobile Safari bug or CSS layout issue?
I would assume it's on BS3 - BS2 does not have this issue. That said, if I'm honest I'm not sure what's causing the issue exactly.
Bootstrap 3 orientation change problem. Initially when we load page on any mode portrait and landscape it works fine. But after rotating phone when we switch from portrait to landscape then it zoom in . And if initially we load page on landscape and then switch to portrait mode then it results in zooming out. Does anyone has solution for this???
I'm having the same problems. Any update on this BUG?
Is this issue fixed? I'm still having the problem when switching orientation portrait -> landscape -> portrait. Using Bootstrap 3.1.1 (flatly).
Pretty sure this is just plain how iOS Safari's UX works. Not a bug in Bootstrap itself, at any rate.
@cvrebert I don't think it is, but I'm not getting the issue any more myself on the BS3 docs, not like it was when I first reported it. I'm fairly certain it's been fixed long ago.