Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
1.4.4 Hash processing demo - Buttons stay blue #7775
Go to http://demos.jquerymobile.com/1.4.4/navigation-hash-processing/
Tested on Nexus 7 Chrome 38.0.2125.102 and iPad 3 iOS 7.12
This is actually a bit of a sticky issue. We remove the active class from the button, but only if the page is no longer active. When dealing with a same-page transition, the page on which the link can be found is active before and after the transition. We can force the active class to be removed, but we can only do so at the beginning or the end of the transition. If we remove it at the beginning, it will never really be shown on-screen, because it's removed in the same JS frame in which it's added. If, OTOH, we remove it after the transition, in the case of the fade transition it looks like it flashes.