-
Notifications
You must be signed in to change notification settings - Fork 183
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Address bar not hide on Android 2.3.4 native browser #107
Comments
Just found that the official demo "iscrollview/demo/build/index_13.html" also has the address bar problem on Android 2.3.4 (Galaxy II) |
It sizes to fit the page. Unfortunately, if the address bar is shown then, of course, it sizes the page to fit under the address bar. The code addresses this specifically for iOS and makes an adjustment for the address bar. Unfortunately, this is likely quite difficult to impossible for Android, because of lack of standardization. On iOS, I can count on the # of pixels for the address bar to be consistent. I'm open to suggestions and pull requests if you can figure out how to make this work across a range of Android devices and browsers. I'm afraid the only work I do with Android is PhoneGap, and in that environment there is no address bar. So, this hasn't been a priority. |
Jtata, thank you for your reply. The reason I believe the way above can work is that JQM can hide the address bar well, and the issue with iscrollview is due to (wrapperH + headerHight < deviceHeight). It would be great if you can pull request on this, coz android fullscreen is fairly important. Thank you! |
I've written a very simple page as below:
*** no extra js ***
It works well on iOS, however, on my native browser of Android 2.3.4, the address bar is always hidden first and then pushes down. Also, it cannot be hid by either refresh or orientationchange.
It feels like the jquery-mobile-iscrollview rendering shortens the height so that the address bar is dragged down.
Seeking help....................thank you, please!
The text was updated successfully, but these errors were encountered: