WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #20805, comment 9


Ignore:
Timestamp:
06/02/12 17:03:30 (3 years ago)
Author:
azaozz
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #20805, comment 9

    initial v1  
    11Yes, seems we will have to use at least two different "strategies" for mobile devices: 
    22 
    3 - For iOS 5+ scrolling the preview seems only possible when we force scrolling of the whole page (by setting the iframe height). It also supports position:fixed so the controls are accessible regardless of the scroll position. 
     3- For iOS 5 scrolling the preview seems only possible when we force scrolling of the whole page (by setting the iframe height). It also supports position:fixed so the controls are accessible regardless of the scroll position. 
    44 
    55- For Android 2.3 (and Kindle Fire that runs a forked version of 2.3), position:fixed is only supported when the zooming is disabled so the tweaks that work in iOS don't work well. At the same time it wouldn't scroll the preview iframe when loaded with viewport meta: initial-scale=1. A workaround is to set initial-scale=1.01, then it behaves more or less like iOS with forced iframe height, i.e. scrolls the whole page.