Skip to content

Commit bc39f57

Browse files
authored
docs(infinite-scroll): clarify virtual scroll element (#3338)
* docs(infinite-scroll): clarify virtual scroll element * chore: update content
1 parent ddb6dba commit bc39f57

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

docs/api/infinite-scroll.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ import CustomContent from '@site/static/usage/v7/infinite-scroll/custom-infinite
4343

4444
## Usage with Virtual Scroll
4545

46-
Infinite scroll requires a scroll container to function. When using a virtual scrolling solution, you will need to disable scrolling on the `ion-content` and indicate which element container is responsible for the scroll container with the `.ion-content-scroll-host` class target.
46+
Infinite scroll requires a scroll container. When using a virtual scrolling solution, you will need to disable scrolling on the `ion-content` and indicate which element container is responsible for the scroll container with the `.ion-content-scroll-host` class target.
4747

4848
```html
4949
<ion-content scroll-y="false">
@@ -56,6 +56,12 @@ Infinite scroll requires a scroll container to function. When using a virtual sc
5656
</ion-content>
5757
```
5858

59+
:::note
60+
61+
`virtual-scroll-element` refers to the scroll container responsible for scrolling the content. This may be a component provided directly by the virtual scroll solution you are using.
62+
63+
:::
64+
5965
## Accessibility
6066

6167
Developers should assign the `role="feed"` attribute to the scrollable list of items that are added to or removed from as the user scrolls.

0 commit comments

Comments
 (0)