Lateral window resize problem


#1

Hi. if a window contains a frame that I want to resize with a call to the “resize” function, the lateral resizing (both from the left and from the right) is slow and tends to lock, which does not happen if instead it resizes from a corner or from bottom or from above. What can it depend on?

tks in advance.

PS: I report the code of the resize function:

win.events.on(“Resize”, function(size, oldsize, resizeSide) {
var misure = win.getSize();
var x11=misure.width-56;
x11=x11.toString()+“px”;
var y11=misure.height-156;
y11=y11.toString()+“px”;
document.getElementById(“appframe”).style.width=x11;
document.getElementById(“appframe”).style.height=y11;
});


#2

Unfortunaetly the porblem cannot be reconstructed locally.
Please, refer to the following snippet:
https://snippet.dhtmlx.com/s2gdsxh6
IF the porblem still occurs for you please, priovide a similar snippet, complete demo or a demo link, wehre the problem can be reconstructed locally.


#3

ok, see this snippet:

https://snippet.dhtmlx.com/1z5nf6p2

the orizontal resize have problem. But if i resize from corner or i do a vertical resize, all is ok. Why?

tks in advance


#4

I apologize for the delay. The porblem is confirmed. We’ll try to fix it in future updates.


#5

We have finally fixed that probklem in the dhtmlxSuite 7.0.
Now the resizinfg should works well.
You can check it in your original snippet:
https://snippet.dhtmlx.com/1z5nf6p2