dotMobimobiThinkingmobiForgemobiReadyDeviceAtlasgoMobi

Posted by davecoe 2 years 4 days ago

pic
 davecoe
mobiForge Newbie
Posts: 1
Joined: 2 years ago
[offline]

Hi,

I've run into a slight issue with developing a page for android 2.1. I have a div that is 100% width and height, and another smaller div below. On the iPhone the dimensions of the first div are calculated on page load and then left alone, so as soon as the user scrolls down they can see the second div. However, on android 2.1 the div dimensions are recalculated as soon as the address bar is scrolled off the top and the actual viewport is at it's maximum, meaning that the user scrolls and then gets a 'jump' as the first div is resized to fit.

Does anyone know of anyway to prevent this happening, either by fixing the address bar in place or hiding it before the dimensions are calculated?

Thanks in advance for any help anyone can provide.