sencha touch messagebox unclickable

牧云@^-^@ 提交于 2019-12-01 19:26:21

I found the solution:

Add Following line before showing Alert Box:

Ext.Msg.defaultAllowedConfig.showAnimation = false;

I found a solution:

Ext.define('Ext.Component', {
        override: 'Ext.Component',
        show: function (animation) {
            return this.callParent([false]);
        },
        hide: function (animation) {
            return this.callParent([false]);
        }
    });

I found the solution on http://www.sencha.com/forum/showthread.php?262324-Sencha-Messagebox-and-Overlay-Problems-on-HTC-One-Browser

I got a solution here: https://www.sencha.com/forum/showthread.php?284450-MessageBox-cannot-be-closed-under-some-circumstances.&p=1040686&viewfull=1#post1040686

Ext.override(Ext.MessageBox, {    
    hide:  function() {
       if (this.activeAnimation && this.activeAnimation._onEnd) {
        this.activeAnimation._onEnd();
       }
       return this.callParent(arguments);
   }
}); 

This works for me for touch 2.4.2

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!