PDA

View Full Version : Android problem - the whole window moves left and leaves a gap on the right



jameshenderson
12 Oct 2011, 9:31 AM
For example, open the Sencha Touch O'Reilly example either in the Android web browser, and drag the bottom tab-bar to the left before the first card has finished loading (while the spinner is still showing); it will move the whole viewport and leave a very obvious white gap on the top toolbar and on the right of the fifth tab-bar icon. It is possible to drag the whole viewport back again but only when something is still trying to load. I get this problem quite often in standard use.

I have tried <body style="overflow: hidden"> and <meta name="viewport" content="width=320; user-scalable=no" /> but the problem still happens.

This is only on Android, not iPhone.

jameshenderson
12 Oct 2011, 9:50 AM
this also happens if you drag any part of the window, not just the tab-bar. I am using HTC Desire S Android v2.3 with Sencha 1.1.0. This is a problem both in the web browser and also with phonegap v1.