Selaa lähdekoodia

fix: reduce overscan value in ItemsTree component from 10 to 5

Yuki Takei 4 kuukautta sitten
vanhempi
sitoutus
8693927e1d
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      apps/app/src/features/page-tree/components/ItemsTree.tsx

+ 1 - 1
apps/app/src/features/page-tree/components/ItemsTree.tsx

@@ -189,7 +189,7 @@ export const ItemsTree: FC<Props> = (props: Props) => {
     count: items.length,
     count: items.length,
     getScrollElement,
     getScrollElement,
     estimateSize: stableEstimateSize,
     estimateSize: stableEstimateSize,
-    overscan: 10,
+    overscan: 5,
     measureElement,
     measureElement,
   });
   });