scottjehl / iOS-Orientationchange-Fix

A fix for the iOS orientationchange zoom bug.
770 stars 115 forks source link

the script doesn't work when reopening browser in landscape mode #14

Closed ricksuggs closed 3 years ago

ricksuggs commented 12 years ago

Noticed this with my ipod touch running ios5.

Steps to reproduce:

  1. Open the test page at http://scottjehl.github.com/iOS-Orientationchange-Fix/ in portrait.
  2. Rotate so that landscape mode is shown, notice that the page looks correct.
  3. Press the home button to close the browser.
  4. Tap the safari icon to reopen safari, make sure you are still in landscape mode.
  5. Safari reopens in portrait mode, but immediately rotates to lanscape.
  6. Notice that the text is double-sized and runs off the right edge of the screen.

Otherwise it's a handy script and thanks for putting it out there!