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