mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
perf(board): add overscan to virtuoso
This commit is contained in:
@@ -1741,6 +1741,7 @@ const Board = () => {
|
|||||||
) : null}
|
) : null}
|
||||||
<Virtuoso
|
<Virtuoso
|
||||||
increaseViewportBy={{ bottom: 1200, top: 1200 }}
|
increaseViewportBy={{ bottom: 1200, top: 1200 }}
|
||||||
|
overscan={600}
|
||||||
data={selectedFeed}
|
data={selectedFeed}
|
||||||
itemContent={(index, thread) => {
|
itemContent={(index, thread) => {
|
||||||
if (editedComments[thread.cid]) {
|
if (editedComments[thread.cid]) {
|
||||||
|
|||||||
Reference in New Issue
Block a user