ComboBox dropdown area not scrolling

2 posts, 0 answers
  1. Luke
    Luke avatar
    3 posts
    Member since:
    Mar 2014

    Posted 15 Jul 2015 Link to this post

    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?

  2. Georgi Krustev
    Admin
    Georgi Krustev avatar
    3707 posts

    Posted 17 Jul 2015 Link to this post

    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
  3. UI for ASP.NET MVC is VS 2017 Ready
Back to Top