Merge pull request #238 from Innei/develop

fix: add overscan to avoid blank flash
This commit is contained in:
Enix 2022-06-22 11:53:46 +08:00 committed by GitHub
commit c8a6e38af1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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>