Thank you for reporting this bug. We will make it our priority to review this report.
-
Sencha User
Window Position bug on Componen resize
Hi together,
If you create a window inside a container, it will be displayed correctly, even if the container size changes.
If the window is now maximized with a maxWidth (it should not go over the entire width) then it loses its position and can no longer be moved.
an example can be found here:
https://fiddle.sencha.com/#view/editor&fiddle/2tfa
Code:
Ext.create("Ext.container.Viewport", {
layout: "border",
items: [{
region: "east",
xtype: 'panel',
title: 'I am Collapsible',
collapsed: true,
width: 200,
height: 100,
collapsible: true,
split: true,
items: []
}, {
region: "center",
xtype: 'panel',
title: 'I have a Window',
items: [{
xtype: 'window',
title: 'I am the Window',
width: 250,
maxWidth: 400,
height: 200,
maximizable: true,
autoShow: true
}]
}]
});
1. Maximize Window
2. Collapse/Expand right Panel
3. Maximized Window loses Position
Is there a quickfix for that bug available? It looks like the window is getting its old position before it was maximized.
best regards
Tom
-
Sencha - Forum Administrator
Thank you so much for bringing this to our attention. I apologize for the delay. I have shared this with the support staff to look into at their earliest convenience. Your patience is greatly appreciated!
Thanks again,
Michele
-
Ext Support Team
Hello Tom,
There is an existing bug registered with us for this issue, the reference Jira EXTJS-15347 will be linked here for you to receive updates on the Jira.
Regards,
Kumar
Sencha Support.