Skip to content

Commit

Permalink
reduce overscan (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
james-elicx authored Oct 8, 2023
1 parent 0fa0f26 commit d4277a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/object-explorer/explorer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ export const ObjectExplorer = ({ initialObjects, initialCursor }: Props): JSX.El
count: rows.length, // Should this track some sort of count from R2?
estimateSize: () => (isGridView ? grid.height : 40),
getScrollElement: useCallback(() => parentRef.current, []),
overscan: 25,
overscan: 5,
});

const columnVirtualizer = useVirtualizer({
Expand Down

0 comments on commit d4277a3

Please sign in to comment.