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

Closed
paradigmbase opened this Issue Apr 14, 2011 · 6 comments

Comments

Projects
None yet
3 participants
@paradigmbase

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.

Example:
Go to htttp://jquerymobile.com/test/#docs/content/content-collapsible.html

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.

@toddparker

This comment has been minimized.

Show comment
Hide comment
@toddparker

toddparker Apr 19, 2011

Contributor

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!

Contributor

toddparker commented Apr 19, 2011

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

@paradigmbase

This comment has been minimized.

Show comment
Hide comment
@paradigmbase

paradigmbase Apr 19, 2011

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

http://paradigmbase.com/example.html

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.

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

http://paradigmbase.com/example.html

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.

@toddparker

This comment has been minimized.

Show comment
Hide comment
@toddparker

toddparker Apr 19, 2011

Contributor

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.

Contributor

toddparker commented Apr 19, 2011

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.

@paradigmbase

This comment has been minimized.

Show comment
Hide comment
@paradigmbase

paradigmbase Apr 20, 2011

That is what I was seeing. Thanks again.

That is what I was seeing. Thanks again.

@scottjehl

This comment has been minimized.

Show comment
Hide comment
@scottjehl

scottjehl Apr 21, 2011

Contributor

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

Contributor

scottjehl commented Apr 21, 2011

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

@toddparker

This comment has been minimized.

Show comment
Hide comment
@toddparker

toddparker May 3, 2011

Contributor

I believe this was fixed with this commit:
2d2e6d7

Can you confirm on the latest?

Contributor

toddparker commented May 3, 2011

I believe this was fixed with this commit:
2d2e6d7

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