Skip to content

Commit

Permalink
reduce the amount of list items rendered simultaneously
Browse files Browse the repository at this point in the history
  • Loading branch information
kaitoo1 committed Oct 4, 2023
1 parent 5ebd2a5 commit c38a557
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/web/src/components/Feed/FeedList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ export default function FeedList({
rowCount={feedData.length}
rowHeight={measurerCache.rowHeight}
scrollTop={scrollTop}
overscanRowCount={10}
overscanRowCount={2}
// By default, react-virtualized's list has the css property `will-change` set to `transform`
// An element with `position: fixed` beneath an element with `will-change: transform` will
// be incredibly busted. You can read more about that [here](https://stackoverflow.com/questions/28157125/why-does-transform-break-position-fixed)
Expand Down

0 comments on commit c38a557

Please sign in to comment.