Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Scrollbar issue with Kendo Window

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

like image 475
user3548975 Avatar asked Oct 20 '22 09:10

user3548975


2 Answers

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;
}
like image 117
Plamen Zdravkov Avatar answered Oct 27 '22 00:10

Plamen Zdravkov


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

like image 25
Null Reference Avatar answered Oct 26 '22 23:10

Null Reference