mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
perf(replies): progressive render, 500 replies/page, content-visibility
Set repliesPerPage to 500 to avoid Virtuoso pagination sort drift. Add useProgressiveRender with startTransition batching and CSS content-visibility for long reply lists.
This commit is contained in:
@@ -456,6 +456,8 @@
|
||||
|
||||
.replyDesktop {
|
||||
padding-top: 4px;
|
||||
content-visibility: auto;
|
||||
contain-intrinsic-size: auto 120px;
|
||||
}
|
||||
|
||||
.replyDesktop .sideArrows {
|
||||
@@ -490,6 +492,8 @@
|
||||
|
||||
.replyMobile {
|
||||
padding-top: 7px;
|
||||
content-visibility: auto;
|
||||
contain-intrinsic-size: auto 120px;
|
||||
}
|
||||
|
||||
.replyMobile .replyContainer {
|
||||
|
||||
Reference in New Issue
Block a user