From 52e3fba7c0b237e99d1dd8de249789f3366283ab Mon Sep 17 00:00:00 2001 From: Sean Perkins Date: Tue, 19 Dec 2023 19:33:04 -0500 Subject: [PATCH] docs(infinite-scroll): clarify virtual scroll element --- docs/api/infinite-scroll.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/api/infinite-scroll.md b/docs/api/infinite-scroll.md index 1f4ab01710a..d5739e6ac40 100644 --- a/docs/api/infinite-scroll.md +++ b/docs/api/infinite-scroll.md @@ -43,7 +43,7 @@ import CustomContent from '@site/static/usage/v7/infinite-scroll/custom-infinite ## Usage with Virtual Scroll -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. +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. ```html @@ -56,6 +56,12 @@ Infinite scroll requires a scroll container to function. When using a virtual sc ``` +:::note + +`virtual-scroll-element` refers to scroll container responsible for scrolling the content. This may be a component provided directly by the virtual scroll solution you are using. + +::: + ## Accessibility Developers should assign the `role="feed"` attribute to the scrollable list of items that are added to or removed from as the user scrolls.