From a9217b5c4ce9764d22348241a4aa033c4126b1fb Mon Sep 17 00:00:00 2001 From: Innei Date: Tue, 21 Jun 2022 17:58:30 +0800 Subject: [PATCH] fix: add overscan to avoid blank flash --- src/components/FileExplorer.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/FileExplorer.tsx b/src/components/FileExplorer.tsx index cd472d9..98f18ff 100644 --- a/src/components/FileExplorer.tsx +++ b/src/components/FileExplorer.tsx @@ -309,6 +309,7 @@ function ListView({ width, height, metaData, expandTo, renderNodeContext }: List itemSize={compactFileTree ? 24 : 37} height={height} width={width} + overscanCount={20} > {VirtualNode}