From 415c348a95342864aa9a1c97fa4bef813b8577b3 Mon Sep 17 00:00:00 2001 From: Johann Derdak Date: Wed, 7 Feb 2024 11:32:08 +0100 Subject: [PATCH] fix: set reasonable overscan value --- clients/web/src/components/auto-scroll-pane.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/clients/web/src/components/auto-scroll-pane.tsx b/clients/web/src/components/auto-scroll-pane.tsx index 64109862..84e77940 100644 --- a/clients/web/src/components/auto-scroll-pane.tsx +++ b/clients/web/src/components/auto-scroll-pane.tsx @@ -46,6 +46,7 @@ export function AutoScrollPane( count: newCount, getScrollElement: () => logPanel ?? null, estimateSize: () => 28, + overscan: 25, }); } );