i want to popup a modal window, the code is as following.
when i show it, the animation works well. and tap the mask, it hide, the mask disappear, the animation works well too.
but if i tap a button on this window, in the tap event hide the window, the window hide well, but the mask doesn't disappear, why ? a bug
Code:
Ext.define('com.view.test', {
extend : 'Ext.Container',
requires:[
'Ext.field.Spinner',
'Ext.Img'
],
config : {
modal: true,
centered : true,
hideOnMaskTap : true,
cls: 'reserve-cls',
width: 650,
height: 500,
layout: 'vbox',
showAnimation: {
type: 'fadeIn',
duration: 500,
easing: 'ease-out'
},
hideAnimation: {
type: 'fadeOut',
duration: 250,
easing: 'ease-out'
},
if i remove the hideAnimation code, i tap a button on this window, in the tap event hide the window, the window hide well, the mask disappear too.