From f509e249426e2010c06147c4967b557b77c22682 Mon Sep 17 00:00:00 2001 From: BOHA Date: Thu, 11 Jun 2026 08:42:04 +0200 Subject: [PATCH] fix(odin): kill body scroll on immersive mobile (MIUI dvh quirk) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Xiaomi Chrome keeps 100dvh at the large-viewport size while the URL bar overlays the page, so the shell's 100dvh min-height left the document one bar-height taller than the screen (scrollable + a strip under the composer). The immersive route now sizes the document to exactly 100svh with hidden overflow down the chain — body scroll is impossible regardless of the browser's dvh interpretation. Other routes unchanged. Co-Authored-By: Claude Fable 5 --- src/admin/ui/AppShell.tsx | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/src/admin/ui/AppShell.tsx b/src/admin/ui/AppShell.tsx index 6ba87c6..df71825 100644 --- a/src/admin/ui/AppShell.tsx +++ b/src/admin/ui/AppShell.tsx @@ -79,13 +79,22 @@ export default function AppShell() { duration: loggingOut ? 0.4 : 0.25, ease: [0.4, 0, 0.2, 1], }} - style={{ minHeight: "100dvh" }} >