Declined
Last Updated: 18 Oct 2019 15:50 by ADMIN
Marcel
Created on: 11 Jun 2019 11:59
Category: DropDownList
Type: Feature Request
3
PopupHeight to default to "auto"
 if "PopupHeight" is not specified it should take "Auto" as the default value instead of a static height in px

This will allow the dropdown to be large enough to fit a reasonable number of items without a scrollbar. Alternatively, you could limit it through a pixel value you can set, or through the MaxPopupHeight property if it gets implemented: https://feedback.telerik.com/blazor/1412653-maxpopupheight.

1 comment
ADMIN
Marin Bratanov
Posted on: 18 Oct 2019 15:50

Hello,

At the moment, there are no plans to change the defaults. You can, however, very easily set the height to auto:

<TelerikDropDownList Data="@MyList" @bind-Value="MyItem" PopupHeight="auto">
</TelerikDropDownList>

@code {
    protected List<string> MyList = new List<string>() { "first", "second", "third" };

    protected string MyItem { get; set; } = "second";
}

 

Regards,
Marin Bratanov
Progress Telerik

 UI for Blazor