This is a migrated thread and some comments may be shown as answers.

Selecting DropDownList in Window

2 Answers 94 Views
DropDownList
This is a migrated thread and some comments may be shown as answers.
Oliver
Top achievements
Rank 1
Oliver asked on 15 Sep 2015, 08:31 AM

Hello,

selecting a DropDownList inside of a window-control results in a scrollbar on the side of the window-control. How can I prevent that?

I attached a screenshot so you can see what I am talking about.

Thanks in advance.

2 Answers, 1 is accepted

Sort by
0
Accepted
Plamen Lazarov
Telerik team
answered on 17 Sep 2015, 09:00 AM

Hello Oliver,

The described behavior is possible to occur only if the popup.appendTo option is used for the DropDownList, so that the items' popup is rendered inside the Window and there is not enough room for it below the DropDownList widget. Normally the popup would be rendered as a child of the <body> element. Below is my test page, which works as expected and no scrollbar is triggered. Can you modify it until the problem is exhibited?

http://dojo.telerik.com/OliWI

Regards,
Plamen Lazarov
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Oliver
Top achievements
Rank 1
answered on 29 Sep 2015, 11:04 AM

You do realize that I'm working with MVC, right? It's such a hassle to reprogram an example with the "pure" JavaScript-engine ...

The window is simply buggy. Sometimes there is a scrollbar on it even though I have "scrollable" disabled. Then, after I open and close a DropDownList inside of the window the scrollbar disappears.

 

It doesn't matter if I make the Window bigger or not and its behaviour seems so random. Without changing the width/height of the Window it sometimes Shows the scrollbar. Sometimes it doesn't. It's really, really annoying and the your recommendation of reprogramming it doesn't make it better.

 

I wish there were better/more demos, because as it is the stackoverflow-community is much more useful than your support and/or demos ...

Tags
DropDownList
Asked by
Oliver
Top achievements
Rank 1
Answers by
Plamen Lazarov
Telerik team
Oliver
Top achievements
Rank 1
Share this question
or