Skip to content
This repository has been archived by the owner on Jan 14, 2018. It is now read-only.

Mobile Safari rotation issue #50

Closed
johndellavecchia opened this issue Jul 3, 2012 · 2 comments
Closed

Mobile Safari rotation issue #50

johndellavecchia opened this issue Jul 3, 2012 · 2 comments

Comments

@johndellavecchia
Copy link

With the stock 320andup download, when you rotate an iOS device to landscape the viewport snaps out much larger than needed, rendering the output larger than the screen. Even when you load the page in landscape, rotate portrait, then landscape it still snaps larger. Is this the expected behavior? Confirmed with the 320andup site.

@iNerdier
Copy link

iNerdier commented Jul 5, 2012

It's an iOS thing, rather than a 320 thing. Arguably it's a bug in mobile safari but there are possible reasons for it happening, i.e. keeping the same relative position on screen, regardless of size. There have been bug reports of it I believe but there's not a great deal you can do about it (or there wasn't last time I checked).

A bit more information here: http://filamentgroup.com/examples/iosScaleBug/

@caycefischer
Copy link

Apparently its caused by initial-scale=1.0

h5bp/html5-boilerplate#824

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants