Skip to content
This repository

2 Scrolling pages that call each other. #3659

Closed
harvo opened this Issue February 28, 2012 · 2 comments

2 participants

harvo Scott Jehl
harvo

We downloaded the following to cure our persistent headers and footers problem.... <%--jquery.mobile.1.1alpha.min.js" type="text/javascript"> This is working great now.

However, we have found the following on the Iphone IOS5 and the Samsung Galaxy tab.

We have a long listview, if we scroll down on this page then select one of our footer icons to go to another long scollable page you are presented with the new page half way down and no ability to go back to the top. It will not now scroll up past the lowest point you scrolled to on the previous page. We have tried mobile.silentscroll (0), we have tried scrollTop(0) when we hit the new page, these do not work. This is making our App useless!

If I revert to the stable version problem goes away but then the headers and footers issue returns.

Any advice welcome at this point.

Scott Jehl

Hi @harvo - can you post an example for us? We'll track it down. Thanks!

harvo

Hi Scott

We think we've got a solution but the reason for it is a little beyond us. The problem seems to be caused by the h1 tags in the header (remove them and the code will work fine). To see the problem you need to scroll down to the bottom of one page, then click the link in the footer to go to the other page, the other page will appear but the content will be lost above the top of the page and you won't be able to scroll back up.

Bug seems to be IOS and Galaxy Tab (7") only, we've tried Chrome here and its got no problems at all with the h1's

http://dl.dropbox.com/u/1320296/index2.html

Our work around for the moment is to replace the h1's with a span and style them up until they look like h1's

Scott Jehl scottjehl closed this issue from a commit February 29, 2012
no longer add a tabindex attribute to the h1, since we add one to the…
… page itself, and that's where we send focus on pageshow. Fixes #3659
bbd7b4d
Scott Jehl scottjehl closed this in bbd7b4d February 29, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.