fix: add overscan to avoid blank flash

This commit is contained in:
Innei 2022-06-21 17:58:30 +08:00
parent f56c8301a9
commit a9217b5c4c
No known key found for this signature in database
GPG key ID: 0F62D33977F021F7

View file

@ -309,6 +309,7 @@ function ListView({ width, height, metaData, expandTo, renderNodeContext }: List
itemSize={compactFileTree ? 24 : 37}
height={height}
width={width}
overscanCount={20}
>
{VirtualNode}
</FixedSizeList>