Resizing issue

Hi webix team,

Here is the snippet. The webix components are not resizing on fullscreen, unpin.

https://webix.com/snippet/f4511ff8

Please help me.

thnaks

Hello,

Webix components do not adjust their width and height to the dimensions of a custom HTML container, that’s an expected behaviour.

You need to catch the corresponding expand/collapse events and resize Webix view to the current container size:

function resize(ev, lp){
   var height = ev.type === "onFullScreen"?
          lp.$options.maxHeight:lp.$options.minHeight;
    $$("main").config.height = height;
    $$("main").resize();
};

$('.lobipanel').on('onFullScreen.lobiPanel', resize);
$('.lobipanel').on('onSmallSize.lobiPanel', resize);

https://webix.com/snippet/74e4cdc0