Skip to content
This repository was archived by the owner on Oct 8, 2021. It is now read-only.

Persistent footer works wrong if navigate between pages with $.mobile.changePage() #4886

Closed
polarfish opened this issue Aug 22, 2012 · 1 comment

Comments

@polarfish
Copy link

Here is simple app which contains 2 screens with fixed footer with navbar inside. I want to save active navbaritems state after transitions so I use approach showed on http://jquerymobile.com/demos/1.1.1/docs/toolbars/footer-persist-a.html. If I use "href navigation" like in example - all work good but if I use "$.mobile.changePage() navigation" - I see wrong state of navbar (both navbaritems are highlighted).

See the examples:

href navigation

https://dl.dropbox.com/u/33175266/JQM/NavBar_href_navigation/index.html
https://dl.dropbox.com/u/33175266/JQM/NavBar_href_navigation.zip

$.mobile.changePage() navigation

https://dl.dropbox.com/u/33175266/JQM/NavBar_changePage_navigation/index.html
https://dl.dropbox.com/u/33175266/JQM/NavBar_changePage_navigation.zip

@jaspermdegroot
Copy link
Contributor

@polarfish

I am closing this as a duplicate of #1181. Thanks for reporting the issue!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants