From da27dd93db95175951eddab066b2ba3413bd99c9 Mon Sep 17 00:00:00 2001 From: Haileyesus <118998054+blackmammoth@users.noreply.github.com> Date: Fri, 26 Jun 2026 19:33:05 +0300 Subject: [PATCH] fix(app): prevent mobile document overscroll --- src/index.css | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/index.css b/src/index.css index c3de46e2..bcec34e9 100644 --- a/src/index.css +++ b/src/index.css @@ -137,6 +137,12 @@ height: 100%; margin: 0; padding: 0; + /* The app shell is a fixed inset-0 container (see AppContent), so the + document itself never needs to scroll. Clipping it removes the phantom + full-height page scrollbar and disables the browser pull-to-refresh + gesture that reloads the page when scrolling up on mobile. */ + overflow: hidden; + overscroll-behavior-y: contain; } /* Root element with safe area padding for PWA */