Issue with Chrome when resizing

Hi,

I have an issue with Chrome when I resize the browser.

Below a test code with a CustomLayout:

[size=1]
package com.example.test_vaadin;

import com.vaadin.Application;
import com.vaadin.ui.*;

@SuppressWarnings(“serial”)
public class Test_vaadinApplication extends Application {
@Override
public void init() {
setTheme(“test_vaadin_theme”);

	Window mainWindow = new Window("Test_vaadin Application");
	setMainWindow(mainWindow);
	mainWindow.setImmediate(true);
	
	CustomLayout mainLayout = new CustomLayout("custom-layout");
	mainWindow.setContent(mainLayout);
	mainLayout.setImmediate(true);
	
	VerticalLayout blockLayout=new VerticalLayout();
	mainLayout.addComponent(blockLayout,"myblock");
	
	GridLayout grid=new GridLayout(3,5);
	grid.setColumnExpandRatio(0, 1f);
	grid.setColumnExpandRatio(1, .5f);
	grid.setColumnExpandRatio(2, 1f);
	blockLayout.addComponent(grid);
	grid.setSizeFull();
	for(int i = 0; i < 5; i++) {
		Label label1=new Label("label1");
		Label label2=new Label("label2");
		Label label3=new Label("label3");
		grid.addComponent(label1,0,i);
		grid.addComponent(label2,1,i);
		grid.addComponent(label3,2,i);
	}
}

}
[/size]

Below the html for the CustomLayout:

[size=1]

[/size]

If I put the browser in normal window (not maximize) and I resize it, the CustomLayout is not resized. I need to click on “refresh”.
Note that it works fine with Firefox.

Is it a bug with Chrome or Vaadin?

Thanks

Regards

Fred