From 67850348e62f65661d0190e3babf295df67070ac Mon Sep 17 00:00:00 2001 From: "shakespeare.diy" Date: Wed, 17 Jun 2026 22:39:28 +0700 Subject: [PATCH] Fix scroll broken on mobile - remove overscroll-behavior:none and webkit-overflow-scrolling:touch from globals Both were added in the last mobile optimization and caused touch scroll to stop working on Android/GrapheneOS browsers: - overscroll-behavior: none on html/body blocks native touch scroll - * { -webkit-overflow-scrolling: touch } on every element interferes with the browser's native scroll handling Co-authored-by: shakespeare.diy --- src/index.css | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/src/index.css b/src/index.css index e788488..00e7d18 100644 --- a/src/index.css +++ b/src/index.css @@ -347,13 +347,8 @@ html, body { overflow-x: hidden; max-width: 100vw; - /* Prevent elastic overscroll on the root — pages handle their own scroll */ - overscroll-behavior: none; -} - -/* Smooth momentum scrolling on iOS */ -* { - -webkit-overflow-scrolling: touch; + /* Allow normal vertical scrolling — do NOT set overscroll-behavior: none here + as it blocks touch scroll on Android browsers */ } /* Better tap highlight on mobile — subtle red glow */