Quantcast
Channel: Telerik Forums RSS
Viewing all articles
Browse latest Browse all 78072

Window resizing issue when in container

$
0
0
Hi, Zhivko.

The window is meant to be top-level element, ideally not placed inside any container, or if placed, the container should not have padding, border or margins.

Looking at the code in question: https://github.com/telerik/kendo-ui-core/blob/master/src/kendo.window.js#L1329-L1358, you can see that the new width / height is calculated as the greater of the two distances (document edge, container edge). That's why in the beginning the window is correct in size and then "jumps" to the expected size + the pixels from the container edge to the document edge.

Is it paramount that the windows are placed inside a container with padding / margin?

Regards,
Ivan Zhekov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 

Viewing all articles
Browse latest Browse all 78072


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>