SubWindow content hide when resize or drag

SubWindow content gets hidden when re-size or drag. This happens when I setContent for a Window using a layout containing multiple contents.

Ex:

VerticalLayout v1 = new VerticalLayout();
v1.addComponent( ... );
v1.addComponent( ... );

setContent(v1);

[s]

As a workaround i used a wrapper layout containing all the window contents as one. Then it works well.

As this:

VerticalLayout  v1 = new VerticalLayout();
v1.addComponent( ... );
v1.addComponent( ... );

VerticalLayout contentWrapper = new VerticalLayout();
contentWrapper.addComponent(v1);

setContent(contentWrapper );

[/s]

My workaround was wrong…
it happens when we give setSizeFull(true) for content and setResizeable(true) for window together. These two are not working well together inside a sub Window.

ex: [code]

VerticalLayout v1 = new VerticalLayout();
v1.addComponent( … );
v1.addComponent( … );
v1.setSizeFull(true);

setContent(v1);
setResizable(true);

[/code]
this creates UI problems.