From 636ccc40f19f259bdd6653b2ca563a75b3548e23 Mon Sep 17 00:00:00 2001 From: qer Date: Tue, 30 Jun 2026 12:15:14 +0800 Subject: [PATCH] fix(web): fix mobile Safari composer toolbar overlap and focus zoom (#1212) * fix(web): keep composer visible above the mobile Safari toolbar and keyboard * fix(web): scope the mobile Safari composer fix to the toolbar case * fix(web): prevent page zoom when focusing the mobile composer --- .changeset/fix-web-mobile-safari-composer.md | 5 +++++ apps/kimi-web/index.html | 2 +- apps/kimi-web/src/App.vue | 1 + 3 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 .changeset/fix-web-mobile-safari-composer.md diff --git a/.changeset/fix-web-mobile-safari-composer.md b/.changeset/fix-web-mobile-safari-composer.md new file mode 100644 index 000000000..e729d8989 --- /dev/null +++ b/.changeset/fix-web-mobile-safari-composer.md @@ -0,0 +1,5 @@ +--- +"@moonshot-ai/kimi-code": patch +--- + +Fix the web composer being hidden behind the mobile Safari toolbar and the page auto-zooming when the composer is focused. diff --git a/apps/kimi-web/index.html b/apps/kimi-web/index.html index 46f389cd8..40e54a320 100644 --- a/apps/kimi-web/index.html +++ b/apps/kimi-web/index.html @@ -3,7 +3,7 @@ - + diff --git a/apps/kimi-web/src/App.vue b/apps/kimi-web/src/App.vue index 4cdb98713..8b43e4936 100644 --- a/apps/kimi-web/src/App.vue +++ b/apps/kimi-web/src/App.vue @@ -971,6 +971,7 @@ function openPr(url: string): void { .app-shell { height: 100vh; + height: 100dvh; display: flex; flex-direction: column; overflow: hidden;