We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 386f975 commit 018a060Copy full SHA for 018a060
packages/pluggableWidgets/gallery-web/src/components/Gallery.tsx
@@ -86,7 +86,11 @@ export function Gallery<T extends ObjectItem>(props: GalleryProps<T>): ReactElem
86
>
87
<GalleryTopBar>{showTopPagination && pagination}</GalleryTopBar>
88
{props.showHeader && <GalleryHeader aria-label={props.headerTitle}>{props.header}</GalleryHeader>}
89
- <GalleryContent hasMoreItems={props.hasMoreItems} setPage={props.setPage} isInfinite={!props.paging}>
+ <GalleryContent
90
+ hasMoreItems={props.hasMoreItems}
91
+ setPage={props.setPage}
92
+ isInfinite={props.paginationType === "virtualScrolling"}
93
+ >
94
{props.items.length > 0 && (
95
<ListBox
96
lg={props.desktopItems}
0 commit comments