From 5f9743604f280f12a122cbfa57767aec1b0a102f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?marcin=20miko=C5=82ajczak?= Date: Thu, 19 Sep 2024 01:09:55 +0200 Subject: [PATCH] pl-fe: styles MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: marcin mikołajczak --- packages/pl-fe/src/components/scrollable-list.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/pl-fe/src/components/scrollable-list.tsx b/packages/pl-fe/src/components/scrollable-list.tsx index b1c4f9e253..97f0bf46c1 100644 --- a/packages/pl-fe/src/components/scrollable-list.tsx +++ b/packages/pl-fe/src/components/scrollable-list.tsx @@ -94,6 +94,7 @@ const ScrollableList = React.forwardRef, IScrollableList>( count: data.length + (hasMore ? 1 : 0), overscan: 3, estimateSize: () => estimatedSize, + enabled: true, }) : useVirtualizer({ count: data.length + (hasMore ? 1 : 0), overscan: 3, @@ -129,7 +130,7 @@ const ScrollableList = React.forwardRef, IScrollableList>( if (autoloadMore || !hasMore || !onLoadMore) { return null; } else { - const button = ; + const button = ; if (loadMoreClassName) return
{button}
;