sencha touch在华为、红米等部分手机下hide事件失效,msgbox无法关闭的解决方案

修改touch/src/fx/runner/CssTransition.js中的源码:

onTransitionEnd: function (e) {

        var target = e.target,
            id = target.id,
            propertyName = e.browserEvent.propertyName,
            styleDashPrefix = Ext.browser.getStyleDashPrefix();
        if (id && this.runningAnimationsData.hasOwnProperty(id)) {
            if (Ext.feature.has.CssTransformNoPrefix) {
                if (propertyName.indexOf(styleDashPrefix) >= 0) {
                    propertyName = propertyName.substring(styleDashPrefix.length);
                }
            }
            this.refreshRunningAnimationsData(Ext.get(target), [propertyName]);
        }
    }
posted @ 2014-11-15 10:00  小曹ydj  Views(199)  Comments(0)    收藏  举报