Skip to content

Commit

Permalink
⚡️ perf: fix scrolling laggy in some chat list (lobehub#3824)
Browse files Browse the repository at this point in the history
  • Loading branch information
arvinxx authored Sep 8, 2024
1 parent 95b5166 commit 1ad7ca4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ const VirtualizedList = memo<VirtualizedListProps>(({ mobile }) => {
computeItemKey={(_, item) => item}
data={data}
followOutput={getFollowOutput}
// increaseViewportBy={overscan}
increaseViewportBy={overscan}
initialTopMostItemIndex={data?.length - 1}
isScrolling={setIsScrolling}
itemContent={itemContent}
Expand Down

0 comments on commit 1ad7ca4

Please sign in to comment.