Content formating incorrectly on return of page on Android when expandable content is present #1457

paradigmbase opened this Issue Apr 14, 2011 · 6 comments


None yet

3 participants


I am running Android 2.2.2 on a Motorola Droid using the default browser. After expanding content on a page, navigating away from the page and then returning to the page the formatting of the page is extremely distorted.

Go to htttp://

Expand 'I'm a Header'.

Click 'Switch Theme' at the bottom of the page.

Close by clicking the X.

jQuery will return to content-collapsible.html with a distorted layout.


I think this is a bug with ThemeSwitcher, not expandable. I'm closing but if you can reproduce this with a different page sequence, I'll re-open. Thanks!

@toddparker toddparker closed this Apr 19, 2011
@paradigmbase paradigmbase reopened this Apr 19, 2011

Thank you for looking into this. How about this example:

Expand 'Quote Request Form'.

Click 'Contact Us' at the bottom of the page.

Return by clicking the Back link.

The home page's layout should be distorted by then.

jQuery will return to content-collapsible.html with a distorted layout.


Ah, I see it now so thanks for that. By "distorted", you mean that the page is clipped so you can't scroll up beyond the top of the page once you navigate back. This seems to also be pushing the collapsible content down and under other elements.

I think this related to the same focus/scroll issue we're tracking in #1461, even though it looks different.


That is what I was seeing. Thanks again.


we just need to bind to the silentscroll event for when we set focus


I believe this was fixed with this commit:

Can you confirm on the latest?

@toddparker toddparker closed this May 3, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment