Rowan
9 Feb 2010, 6:23 AM
In firefox there is the following CSS rule applied
.ext-gecko .x-panel-animated div {
overflow:hidden !important;
}
When you have a window that animates to open but not to minimise the class x-panel-animated is left on the window meaning that overflow is always set to hidden on the child
var windowConfig = {
animCollapse: false,
autoScroll: true,
autoShow: true,
border: false,
closable: true,
closeAction: 'hide',
constrainHeader: true,
height: 600,
layout: 'border',
minimizable: true,
minWidth: 300,
minHeight: 400,
plain: true,
resizeHandles: 'none',
shadow: true,
width: 400
};
// Create the window and add default minimise handlers
var win = new Ext.Window(windowConfig);
win.on('minimize', function(){
win.toggleCollapse();
});
The class is not removed when minimising / expanding a window but for some reason is added on collapse.
The fix
win.on('expand', function(window){
window.el.removeClass('x-panel-animated');
});
.ext-gecko .x-panel-animated div {
overflow:hidden !important;
}
When you have a window that animates to open but not to minimise the class x-panel-animated is left on the window meaning that overflow is always set to hidden on the child
var windowConfig = {
animCollapse: false,
autoScroll: true,
autoShow: true,
border: false,
closable: true,
closeAction: 'hide',
constrainHeader: true,
height: 600,
layout: 'border',
minimizable: true,
minWidth: 300,
minHeight: 400,
plain: true,
resizeHandles: 'none',
shadow: true,
width: 400
};
// Create the window and add default minimise handlers
var win = new Ext.Window(windowConfig);
win.on('minimize', function(){
win.toggleCollapse();
});
The class is not removed when minimising / expanding a window but for some reason is added on collapse.
The fix
win.on('expand', function(window){
window.el.removeClass('x-panel-animated');
});