perf(room): increase virtualizer overscan to 30 for smoother scrolling
This commit is contained in:
parent
5cd4c66445
commit
bab675cf60
@ -213,7 +213,7 @@ const RoomMessageListInner = memo(function RoomMessageListInner({
|
|||||||
if (row?.type === 'message' && row.message) return estimateMessageRowHeight(row.message);
|
if (row?.type === 'message' && row.message) return estimateMessageRowHeight(row.message);
|
||||||
return 60;
|
return 60;
|
||||||
},
|
},
|
||||||
overscan: 5,
|
overscan: 30,
|
||||||
gap: 0,
|
gap: 0,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user