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:16:07 -07:00
2026-07-02 00:22:58 -07:00
2026-07-02 13:38:02 -07:00
2026-07-02 13:51:25 -07:00
2026-07-02 07:32:47 -07:00
2026-07-02 00:22:58 -07:00
2026-07-02 13:07:16 -07:00
2026-07-02 11:38:34 -07:00
2026-07-02 00:22:58 -07:00
2026-07-02 00:22:58 -07:00
2026-06-08 15:19:27 -07:00
2026-07-02 00:22:58 -07:00