From fb06a0ce20b8740f4dcc183d4f78dfc77fe79b3e Mon Sep 17 00:00:00 2001 From: Haileyesus <118998054+blackmammoth@users.noreply.github.com> Date: Sat, 27 Jun 2026 17:07:22 +0300 Subject: [PATCH] fix(shell): resize terminal when mobile keyboard opens On Chrome/Android the on-screen keyboard overlays content by default (interactive-widget=resizes-visual), so the layout viewport kept its full height when the keyboard appeared. The terminal stayed at its pre-keyboard size, leaving dead space above the keyboard and a stale scroll geometry. Set interactive-widget=resizes-content so Android shrinks the layout viewport on keyboard open. The fixed inve the keyboard and the existing ResizeObserver re-fits xterm to the new height. iOS is unaffected (interactive-widget is ignored there; the VisualViewport --keyboard-height path still applies). --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index c476f13e..37d2217d 100644 --- a/index.html +++ b/index.html @@ -4,7 +4,7 @@ - + CloudCLI UI