Skip to content

Commit 6a8f2da

Browse files
authored
docs(DropDownList): Add missing limitation to Virtual Scrolling article (#3257)
* docs(DropDownList): Add missing limitation to Virtual Scrolling article * Update _contentTemplates/common/dropdowns-virtualization.md
1 parent 1604630 commit 6a8f2da

File tree

2 files changed

+4
-11
lines changed

2 files changed

+4
-11
lines changed

_contentTemplates/common/dropdowns-virtualization.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ the component will call this method to request the model that matches the `Value
3232

3333

3434
#limitations
35-
* 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.
36-
* 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.
35+
* When the initially selected item is not on the first page, the dropdown does not scroll to it on first opening.
36+
* 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.
3737
#end
3838

3939
#remote-data-sample-intro

components/dropdownlist/virtualization.md

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,28 +18,24 @@ The DropDownList @[template](/_contentTemplates/common/dropdowns-virtualization.
1818
* [Local Data Example](#local-data-example)
1919
* [Remote Data Example](#remote-data-example)
2020

21-
2221
>caption Display, scroll and filter over 10k records in the DropDownList without delays and performance issues.
2322
2423
![Virtual Scrolling of large local data](images/dropdownlist-virtual-scrolling-local.gif)
2524

26-
2725
## Basics
2826

2927
@[template](/_contentTemplates/common/dropdowns-virtualization.md#basics-core)
3028

31-
3229
* `ValueMapper` - `Func<TValue, Task<TItem>>` - @[template](/_contentTemplates/common/dropdowns-virtualization.md#value-mapper-text)
3330

3431
@[template](/_contentTemplates/common/dropdowns-virtualization.md#remote-data-specifics)
3532

3633
### Limitations
3734

38-
* When the initially selected item is not on the first page, the dropdown will *not* scroll the list to the selected item when opening.
35+
@[template](/_contentTemplates/common/dropdowns-virtualization.md#limitations)
3936

4037
## Local Data Example
4138

42-
4339
````RAZOR
4440
@SelectedValue
4541
<br />
@@ -77,8 +73,6 @@ The DropDownList @[template](/_contentTemplates/common/dropdowns-virtualization.
7773
}
7874
````
7975

80-
81-
8276
## Remote Data Example
8377

8478
@[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
173167
}
174168
````
175169

176-
177170
## See Also
178171

179172
* [Live Demo: DropDownList Virtualization](https://demos.telerik.com/blazor-ui/dropdownlist/virtualization)
180-
* [Blazor DropDownList](slug:components/dropdownlist/overview)
173+
* [Blazor DropDownList](slug:components/dropdownlist/overview)

0 commit comments

Comments
 (0)