I have a div
that is resized to be at the full height of the viewport on load
as well as on resize
. The problem that I am having is that on Google Chrome for iOS (I haven't checked Android, but I can imagine that it displays the same erratic behaviours) if I scroll down, as usual the address/tab bar scrolls up. And as it does, it fires resize
events. When that happens, the div
and its contents jitter and cause scrolling to be come sluggish, as well as causing other oddities with the div
below.
JSFiddle: http://jsfiddle.net/mseymour/9PEC4/