Changes between Initial Version and Version 1 of Ticket #20805, comment 9
- Timestamp:
- 06/02/2012 05:03:30 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #20805, comment 9
initial v1 1 1 Yes, seems we will have to use at least two different "strategies" for mobile devices: 2 2 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. 4 4 5 5 - 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.