sencha touch messagebox unclickable

前端 未结 3 960
栀梦
栀梦 2021-01-19 05:58

In sencha touch we have a little problem with a messagebox. It looks that it\'s something with android 4.3. On the most devices it\'s works perfect, but on a device with and

3条回答
  •  执笔经年
    2021-01-19 06:32

    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

提交回复
热议问题