From 2b2f4e079c7814c779bf6c6221bd9d4f492291ba Mon Sep 17 00:00:00 2001 From: Dimo Dimov <961014+dimodi@users.noreply.github.com> Date: Thu, 25 Sep 2025 10:53:42 +0300 Subject: [PATCH 1/2] docs(DropDownList): Add missing limitation to Virtual Scrolling article --- _contentTemplates/common/dropdowns-virtualization.md | 4 ++-- components/dropdownlist/virtualization.md | 11 ++--------- 2 files changed, 4 insertions(+), 11 deletions(-) diff --git a/_contentTemplates/common/dropdowns-virtualization.md b/_contentTemplates/common/dropdowns-virtualization.md index 6b3de26174..96e6a3d691 100644 --- a/_contentTemplates/common/dropdowns-virtualization.md +++ b/_contentTemplates/common/dropdowns-virtualization.md @@ -32,8 +32,8 @@ the component will call this method to request the model that matches the `Value #limitations -* When the initially selected item/items are on a page different than the first one, opening the dropdown list will NOT scroll the list to the selected item. -* When virtualization is enabled, the component calculates the position of the items. In this case, the loading indicators are not displayed as they would affect the proper item positioning. +* When the initially selected item is not on the first page, the dropdown does not scroll to it on first opening. +* The component calculates the position of the dropdown items during virtual scrolling. In this case, the loading indicators (skeletons) do not display as they would affect the proper item positioning. #end #remote-data-sample-intro diff --git a/components/dropdownlist/virtualization.md b/components/dropdownlist/virtualization.md index e99f20c833..e7664c5358 100644 --- a/components/dropdownlist/virtualization.md +++ b/components/dropdownlist/virtualization.md @@ -18,28 +18,24 @@ The DropDownList @[template](/_contentTemplates/common/dropdowns-virtualization. * [Local Data Example](#local-data-example) * [Remote Data Example](#remote-data-example) - >caption Display, scroll and filter over 10k records in the DropDownList without delays and performance issues. ![Virtual Scrolling of large local data](images/dropdownlist-virtual-scrolling-local.gif) - ## Basics @[template](/_contentTemplates/common/dropdowns-virtualization.md#basics-core) - * `ValueMapper` - `Func>` - @[template](/_contentTemplates/common/dropdowns-virtualization.md#value-mapper-text) @[template](/_contentTemplates/common/dropdowns-virtualization.md#remote-data-specifics) ### Limitations -* When the initially selected item is not on the first page, the dropdown will *not* scroll the list to the selected item when opening. +@[template](/_contentTemplates/common/dropdowns-virtualization.md#limitations) ## Local Data Example - ````RAZOR @SelectedValue
@@ -77,8 +73,6 @@ The DropDownList @[template](/_contentTemplates/common/dropdowns-virtualization. } ```` - - ## Remote Data Example @[template](/_contentTemplates/common/dropdowns-virtualization.md#remote-data-sample-intro) @@ -173,8 +167,7 @@ Run this and see how you can display, scroll and filter over 10k records in the } ```` - ## See Also * [Live Demo: DropDownList Virtualization](https://demos.telerik.com/blazor-ui/dropdownlist/virtualization) -* [Blazor DropDownList](slug:components/dropdownlist/overview) \ No newline at end of file +* [Blazor DropDownList](slug:components/dropdownlist/overview) From 6b4cf0a4d2b96862f5bcdd1bd9ba8d6ca78e04b2 Mon Sep 17 00:00:00 2001 From: Dimo Dimov <961014+dimodi@users.noreply.github.com> Date: Thu, 25 Sep 2025 10:55:21 +0300 Subject: [PATCH 2/2] Update _contentTemplates/common/dropdowns-virtualization.md --- _contentTemplates/common/dropdowns-virtualization.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_contentTemplates/common/dropdowns-virtualization.md b/_contentTemplates/common/dropdowns-virtualization.md index 96e6a3d691..954465b0ab 100644 --- a/_contentTemplates/common/dropdowns-virtualization.md +++ b/_contentTemplates/common/dropdowns-virtualization.md @@ -33,7 +33,7 @@ the component will call this method to request the model that matches the `Value #limitations * When the initially selected item is not on the first page, the dropdown does not scroll to it on first opening. -* The component calculates the position of the dropdown items during virtual scrolling. In this case, the loading indicators (skeletons) do not display as they would affect the proper item positioning. +* The component calculates the position of the dropdown items during virtual scrolling. In this case, the loading indicators (skeletons) do not display as they will affect the proper item positioning. #end #remote-data-sample-intro