Window resizing issues

Hi everyone
I’m trying to create a simple example of resize a window using the resize’s handler but not sure what i’am doing wrong. My snippet contain the most simple example
https://snippet.webix.com/pzvgw3tg

Hello,

you’re missing just some CSS:

<style>
  html, body{
  	height:100%;
    margin:0;
  }
</style>

Here’s an example: Code Snippet

Our article about Dynamic Sizing might be helpful to understand it better