It is possible to prevent this bug simply by making sure that the page loads with content that causes vertical scrolling. For example, you can just put this HTML into your page: <div id="ios5fix" style="position: absolute; left: 0; top: 0; width: 100%; height: 101%;"></div> Wait a few dozen milliseconds after page load, and you can actually delete this div safely.

Social:

This post was published on Thursday, April 12th, 2012 at 04/12/2012 @ 3:39 pm. Written by Daigo Fujiwara. The post is filed under Web/Print Design and Dev categories. Comments are welcome below, and they can be followed with this RSS 2.0 feed. Tagged: