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

ComboBox dropdown area not scrolling

1 Answer 111 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Luke
Top achievements
Rank 2
Luke asked on 15 Jul 2015, 11:18 PM
I’m having trouble with a ComboBox dropdown area not scrolling under certain circumstances.
Below is the code in my MVC View (.cshtml):
           
<div class="field">
    @Html.LabelFor(m => m.WeightUnitMeasureCode)
    @(Html.Kendo().ComboBoxFor(m => m.WeightUnitMeasureCode)
        .Filter(FilterType.Contains)
        .Suggest(true)
        .DataTextField("Name")
        .DataValueField("Value")
        .DataSource(source =>
        {
            source.Read(read =>
            {
                read.Action("GetUnitMeasures", "UiLists", new { area = "" });
            });
        })
    )
</div>

After page load, clicking the down arrow on the control opens the dropdown list but it is so long that it run out of view. (see image1)
If I select an item in the list and click the down arrow again, the problem persists.
However, if I manually clear the text of the selected item in the control, the dropdown opens automatically and it behaves as desired with a max height of 200px (see image2)

The screenshots show that I'm using these in a custom modal window however this issue occurs even on a regular page.
Any ideas on what I’m doing wrong or how to fix this?

1 Answer, 1 is accepted

Sort by
0
Georgi Krustev
Telerik team
answered on 17 Jul 2015, 12:41 PM
Hello Luke,

I answered to the support thread opened on the same subject. I would like to ask you continue our discussion in only one thread to avoid duplication.

Here is a quote of the answer:

The described issue is strange and not known to us. I tried to replicate the issue on our online demos, but to no avail. It seems that the issue could be related to specific CSS. Would it be possible to share more details about the current implementation? A runnable demo will be of a great help to pinpoint the problem and provide a workaround/solution much faster.
Looking forward to hearing from you.


Regards,
Georgi Krustev
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
Tags
ComboBox
Asked by
Luke
Top achievements
Rank 2
Answers by
Georgi Krustev
Telerik team
Share this question
or