From a0f1d9709b1c0f9cfcf9b21305843bb3e7d0edf9 Mon Sep 17 00:00:00 2001 From: Alexej Wolff Date: Wed, 11 Feb 2026 16:20:34 +0100 Subject: [PATCH] fix: disable zoom in game chat with touch-action --- src/pages/GamePage.css | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/pages/GamePage.css b/src/pages/GamePage.css index f4f99fd..7c39969 100644 --- a/src/pages/GamePage.css +++ b/src/pages/GamePage.css @@ -11,6 +11,11 @@ left: 0; right: 0; bottom: 0; + touch-action: none; +} + +.game-page * { + touch-action: pan-y; } .game-error { @@ -227,6 +232,7 @@ overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; + touch-action: pan-y; padding: 1rem; padding-left: max(1rem, env(safe-area-inset-left)); padding-right: max(1rem, env(safe-area-inset-right)); @@ -459,6 +465,7 @@ transition: height 0.1s ease; overflow-y: auto; line-height: 1.4; + touch-action: manipulation; } .input-container textarea:focus {