You can clone with
HTTPS or Subversion.
had an issue with my application where I am listening to 'pagebeforechange' and injecting all pages dynamically on an ajax return.
Transition is set to 'slide' and issue is with Chrome where 'slide' is not supported.
In Safari it seems fine as 'slide' supported.
Please see below samples to replicate issue.
Its listening to 'pagebeforechange' and injecting a newpage with lists.
An ajax call is made to replicate issue.Ajax response is not used for building page.
Click list items one after another fast and it stops responding to any clicks(changePage) after 4/5 transitions.
I put breakpoint in $.mobile.changePage and can see 'isPageTransitioning' is true and it satisfies a condition and return without changing page.
I understand there is a mechanism of queuing all page transition calls to 'pageTransitionQueue' and exceuting one after another in case of more simultaneous requests.
This mechanism works fine in Safari where 'slide' is supported.But it breaks in Chrome and it won't throw any error either. But logically fails.I can see 'pageTransitionQueue' got length.
I know it needs aggressive clicks to replicate this. But it won't throw error in console and stop responding.
Please let me know it you couldn't replicate it.
I couldn't reproduce the issue. What OS/Chrome version? What do you mean by "Chrome where slide is not supported"?
I am on Desktop (win XP ) and latest Chrome (Version 24.0.1312.57 m). I don't see any of transitions in Chrome. I checked my collegues Desktop Chrome also.
First question, is Transitions (http://jquerymobile.com/branches/1.2/docs/pages/page-transitions.html) supposed to work in desktop Chrome?
I can replicate this in Chrome and Android 2.x browsers, where transitions are not supported.
Please see this video http://johnchacko.net/samples/list_fast_click_video.html (sorry I dont have youtube at work) Will give an idea on how fast I am clicking.
After some changePage()'s it stop responsing without any error.
Please see below screenshots where I put a breakpoint in changePage to see values of 'isPageTransitioning' & 'pageTransitionQueue'
All I am worried is it happens in my actual Application.....
I think Chrome doesn't support transform3d on Win XP. That's why transitions don't work there.
Will test this with transitions set to false and see if there is something in the logic we need to change.
@poonkave can you check and see if this is still an issue for you with latest we have made some changes in this area and hoping this has fixed this issue if not i will see what i can find for the logical error causing this.
@arschmitz I think we can close this one due to stall/lack of response
@Ruffio agreed closing