From 47f5a8f6b5b861ade2c5c63117239b0461d14aa3 Mon Sep 17 00:00:00 2001 From: Murat Aslan Date: Sun, 22 Mar 2026 03:07:55 +0300 Subject: [PATCH] fix(web): prevent iOS auto-zoom on chat input focus iOS Safari and Chrome auto-zoom when focusing an input with font-size below 16px. The composer editor used text-[14px], triggering this behavior and causing layout shifts. - Set composer font-size to 16px on mobile, 14px on sm+ breakpoint - Add maximum-scale=1 to viewport meta to prevent zoom on all inputs Fixes #1265 --- apps/web/index.html | 2 +- apps/web/src/components/ComposerPromptEditor.tsx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/web/index.html b/apps/web/index.html index 0322f2d019..40079b0502 100644 --- a/apps/web/index.html +++ b/apps/web/index.html @@ -2,7 +2,7 @@ - + diff --git a/apps/web/src/components/ComposerPromptEditor.tsx b/apps/web/src/components/ComposerPromptEditor.tsx index 338d9f7bf1..c29cce7d65 100644 --- a/apps/web/src/components/ComposerPromptEditor.tsx +++ b/apps/web/src/components/ComposerPromptEditor.tsx @@ -1093,7 +1093,7 @@ function ComposerPromptEditorInner({ contentEditable={ 0 ? null : ( -
+
{placeholder}
)