【发布时间】:2015-06-04 12:24:29
【问题描述】:
jquery mobile 1.2.0 版本在 chrome 版本 43.0.2357.81 m 中滑动时出现空白屏幕。在其他浏览器中正常。
【问题讨论】:
标签: google-chrome jquery-mobile
jquery mobile 1.2.0 版本在 chrome 版本 43.0.2357.81 m 中滑动时出现空白屏幕。在其他浏览器中正常。
【问题讨论】:
标签: google-chrome jquery-mobile
已经有答案了。
从这里查看我的答案 Animation end webkitend bug
您最好转到最新版本。
编辑
要修复 - 只需在加载 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);
}
};
})
【讨论】: