jquery/jquery-mobile — Issue #3736: page [before]show/hide events are off in 1.1
Author: scottjehl
Created: 2012-03-05 11:24:49+00:00
State: open

Now that the transition handler sequence has changed, our page show/hide event triggers no longer line up with what's actually happening.

Currently (and up to now), we trigger pagebeforehide and pagebeforeshow at the start of the transition, then run the whole in/out transition, then trigger pageshow and pagehide.

However, our new handler sequence is more like, pagebeforehide - pagehide - pagebeforeshow - pageshow.

Given that many developers have written code against these events, I'm unsure if we should change this now to reflect the actual new sequence. At the least, I do think we should for 1.2.

Thoughts on timing for this?