From 795950a7544313537f94e36f1ea1ebc566f09238 Mon Sep 17 00:00:00 2001 From: Freeplay Date: Mon, 20 Feb 2023 23:29:34 -0500 Subject: [PATCH] *Might* be something that can improve performance --- packages/client/src/components/MkNote.vue | 1 + packages/client/src/components/MkNoteSub.vue | 1 + 2 files changed, 2 insertions(+) diff --git a/packages/client/src/components/MkNote.vue b/packages/client/src/components/MkNote.vue index 20225843a3..eaf0d159a8 100644 --- a/packages/client/src/components/MkNote.vue +++ b/packages/client/src/components/MkNote.vue @@ -279,6 +279,7 @@ function readPromo() { font-size: 1.05em; overflow: clip; contain: content; + content-visibility: auto; // これらの指定はパフォーマンス向上には有効だが、ノートの高さは一定でないため、 // 下の方までスクロールすると上のノートの高さがここで決め打ちされたものに変化し、表示しているノートの位置が変わってしまう diff --git a/packages/client/src/components/MkNoteSub.vue b/packages/client/src/components/MkNoteSub.vue index 645d2d277a..6ba7043069 100644 --- a/packages/client/src/components/MkNoteSub.vue +++ b/packages/client/src/components/MkNoteSub.vue @@ -65,6 +65,7 @@ const replies: misskey.entities.Note[] = props.conversation?.filter(item => item