gsxdsm
8d7abb8c33
FN-7447: fix Android terminal mobile viewport sizing
Fix Android keyboard-open terminal layout by sizing mobile shells from the visual viewport.
- Track visualViewport width in the terminal modal and mobile keyboard detection.
- Apply keyboard-constrained mobile terminal sizing even when CSS media queries see a wider layout viewport.
- Cover Android visualViewport width behavior with modal, session terminal, and hook regressions.
- Document the fix pattern and add a patch changeset for the published Fusion package.
Files changed:
.../fn-7447-android-mobile-terminal-spacing.md | 7 ++
...ndroid-mobile-terminal-visual-viewport-width.md | 26 ++++++++
.../dashboard/app/components/TerminalModal.css | 21 +++++-
.../dashboard/app/components/TerminalModal.tsx | 8 +++
.../__tests__/SessionTerminal.mobile.test.tsx | 40 +++++++++++-
.../components/__tests__/TerminalModal.test.tsx | 76 ++++++++++++++++++++++
.../app/hooks/__tests__/useMobileKeyboard.test.ts | 38 +++++++++++
packages/dashboard/app/hooks/useMobileKeyboard.ts | 10 ++-
8 files changed, 222 insertions(+), 4 deletions(-)
Fusion-Task-Id: FN-7447
Fusion-Task-Lineage: c01faf0f-842e-4632-bf8f-ae54070c3bf8
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai>
2026-07-02 13:51:25 -07:00
..
2026-07-02 13:51:25 -07:00
2026-06-03 20:02:03 -07:00
2026-06-06 01:42:57 -07:00
2026-06-05 14:23:27 -07:00
2026-06-11 21:26:59 -07:00
2026-06-13 11:53:44 -07:00
2026-06-13 11:22:07 -07:00
2026-06-13 10:29:24 -07:00
2026-06-13 10:14:11 -07:00
2026-07-01 15:39:33 -07:00
2026-06-13 16:30:28 -07:00
2026-06-09 22:44:30 -07:00
2026-06-17 01:22:21 -07:00
2026-06-20 00:41:36 -07:00
2026-06-03 15:05:40 -07:00
2026-06-16 23:21:14 -07:00
2026-06-13 17:26:12 -07:00
2026-06-18 13:19:43 -07:00
2026-06-20 21:02:51 -07:00