I am using kendo window. When I am not specifying any width to the kendo window, horizontal scrollbar is coming in the browser window. The code is as below.
window.kendoWindow({
actions: [
"Pin",
"Minimize",
"Maximize",
"Close"
],
position:{
top:0,
left:0
},
close: onClose,
});
Can anybody please explain why this is happening? Thanks in advance
It is a bug in the control. I have logged it here. A possible workaround is to add this CSS to the page:
.k-resize-ne, .k-resize-se, .k-resize-e { right: 0; }
I'm not sure, and I guess you'll have to ask Telerik regarding this
My guess - it's probably due to the css styling.
A workaround can be setting the width like this:
width:"99.6%"
This gets the window snugged nicely within the browser with no scrollbars.
I've edited your jsfiddle with the width
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With