jquery mobile 1.2.0 version blank screen while slide in chrome Version 43.0.2357.81 m. in other browsers ok.
Asked
Active
Viewed 695 times
1 Answers
3
Already has an answer.
Check out my answer from here Animation end webkitend bug
You're better off moving to the latest version.
edit
To fix - just add somewhere before loading jquerymobile.js -
// Override of $.fn.animationComplete must be called before initialise jquery mobile js
$(document).bind('mobileinit', function() {
$.fn.animationComplete = function(callback) {
if ($.support.cssTransitions) {
var superfy= "WebKitTransitionEvent" in window ? "webkitAnimationEnd" : "animationend";
return $(this).one(superfy, callback);
} else {
setTimeout(callback, 0);
return $(this);
}
};
})

Superfy
- 326
- 2
- 9
-
am asking for slide transition – Vel Jun 04 '15 at 13:09
-
Yes similar same issue. First slide/popup in or out is OK second one will cause a blank screen or general weirdness on the new chrome, as both WebKit animationend and animationend is called. – Superfy Jun 04 '15 at 13:14
-
that script or i want add the function one() – Vel Jun 04 '15 at 13:16
-
just insert that script before you call jquerymobile,js... the one() is just explanation.... – Superfy Jun 04 '15 at 13:26