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
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
I found the solution:
Add Following line before showing Alert Box:
Ext.Msg.defaultAllowedConfig.showAnimation = false;