diff options
Diffstat (limited to 'packages/frontend/src/ui')
| -rw-r--r-- | packages/frontend/src/ui/deck.vue | 6 | ||||
| -rw-r--r-- | packages/frontend/src/ui/universal.vue | 6 |
2 files changed, 10 insertions, 2 deletions
diff --git a/packages/frontend/src/ui/deck.vue b/packages/frontend/src/ui/deck.vue index 65aff8455a..fc6b023a51 100644 --- a/packages/frontend/src/ui/deck.vue +++ b/packages/frontend/src/ui/deck.vue @@ -226,13 +226,17 @@ html, body { width: 100%; height: 100%; - overflow: clip; position: fixed; top: 0; left: 0; overscroll-behavior: none; } +body { + /* NOTE: htmlにも overflow: clip を設定したいところだが、設定すると何故か少なくともChromeでhtmlがmain thread scroll repaint扱いになりパフォーマンスが(多分)落ちる */ + overflow: clip; +} + #misskey_app { width: 100%; height: 100%; diff --git a/packages/frontend/src/ui/universal.vue b/packages/frontend/src/ui/universal.vue index 576f215acd..d067fe738c 100644 --- a/packages/frontend/src/ui/universal.vue +++ b/packages/frontend/src/ui/universal.vue @@ -216,13 +216,17 @@ html, body { width: 100%; height: 100%; - overflow: clip; position: fixed; top: 0; left: 0; overscroll-behavior: none; } +body { + /* NOTE: htmlにも overflow: clip を設定したいところだが、設定すると何故か少なくともChromeでhtmlがmain thread scroll repaint扱いになりパフォーマンスが(多分)落ちる */ + overflow: clip; +} + #misskey_app { width: 100%; height: 100%; |