Currently, ComposeWindow in compose-web(canvas) is limited and it doesn't react on resize. It sets its size depending on the canvas' size during init.
Ideally, compose-web(canvas) will have something like
WindowState
in compose-desktop to manage the size.