perf(frontend): avoid main thread scroll repaint

This commit is contained in:
syuilo
2025-03-28 16:34:21 +09:00
parent 811077ca66
commit 18355a0838
3 changed files with 10 additions and 2 deletions

View File

@@ -233,7 +233,7 @@ body {
}
body {
/* NOTE: htmlにも overflow: clip を設定したいところだが、設定すると何故か少なくともChromeでhtmlmain thread scroll repaint扱いになりパフォーマンスが(多分)落ちる */
/* NOTE: htmlにも overflow: clip を設定したいところだが、設定すると何故か少なくともChromeで htmlmain thread scrolling になりパフォーマンスが(多分)落ちる */
overflow: clip;
}

View File

@@ -223,7 +223,7 @@ body {
}
body {
/* NOTE: htmlにも overflow: clip を設定したいところだが、設定すると何故か少なくともChromeでhtmlmain thread scroll repaint扱いになりパフォーマンスが(多分)落ちる */
/* NOTE: htmlにも overflow: clip を設定したいところだが、設定すると何故か少なくともChromeで htmlmain thread scrolling になりパフォーマンスが(多分)落ちる */
overflow: clip;
}