GridLayout in Window does not resize on max/minimizing of the window

I got this strange behaviour from the windows/gridlayout component and i’m not sure where is the issue from .

video of it is here :

You can see that the grid resizes but not the first time , it resizes afterwards but against time. (contra time ?)
When resizing the browser it works fine.

Any input appreciated.
Code is from here :

Reminds me of
this issue
. Have you tried that window.setResizeLazy(true); workaround?

Thank you for the fast answer.
I tried it and the behaviour doesn’t change.

On IE the resizing works as it should.