gsxdsm
3d37cfa7db
FN-9201: Prevent mobile nav lift when the iOS keyboard opens
Keep mobile bottom chrome pinned or hidden during keyboard focus transitions, including landscape phone layouts.
- track keyboard-focus intent before visual viewport metrics settle
- clamp focused iOS viewport offsets so fixed bars remain behind the keyboard
- cover runtime bootstrap, landscape integration, nav, focus, and offset behavior
- document the mobile keyboard layout contract and add a patch changeset
Files changed:
.changeset/fn-9201-mobile-nav-keyboard-lift.md | 7 ++
docs/dashboard-guide.md | 4 +-
packages/dashboard/app/App.tsx | 43 ++++++++--
...ile-nav-keyboard-landscape.integration.test.tsx | 91 ++++++++++++++++++++
.../__tests__/icb-inline-script.runtime.test.ts | 74 ++++++++++++++++
.../mobile-bottom-bars-keyboard-layout.test.ts | 15 +++-
.../viewport-compensation-keyboard.test.ts | 5 +-
.../__tests__/MobileNavBar.keyboard-lift.test.tsx | 65 ++++++++++++++
.../__tests__/useKeyboardFocusPending.test.tsx | 99 ++++++++++++++++++++++
.../dashboard/app/hooks/useKeyboardFocusPending.ts | 43 ++++++++++
packages/dashboard/app/index.html | 12 ++-
.../utils/__tests__/mobileBarKeyboardFlags.test.ts | 22 +++++
.../app/utils/__tests__/viewportOffset.test.ts | 32 +++++++
.../dashboard/app/utils/mobileBarKeyboardFlags.ts | 10 ++-
packages/dashboard/app/utils/viewportOffset.ts | 8 ++
15 files changed, 510 insertions(+), 20 deletions(-)
Fusion-Task-Id: FN-9201
Fusion-Task-Lineage: 4b3b01d3-8968-432b-9537-a63ee6bbde31
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai>
2026-08-23 11:40:06 -07:00
..
2026-08-22 19:27:22 -07:00
2026-08-22 19:27:22 -07:00
2026-08-23 11:02:02 -07:00
2026-08-23 11:40:06 -07:00
2026-08-22 19:43:45 -07:00
2026-08-22 19:27:22 -07:00
2026-08-23 11:11:18 -07:00
2026-08-22 19:27:22 -07:00
2026-08-22 19:27:22 -07:00
2026-08-22 19:27:22 -07:00
2026-07-27 19:40:08 -07:00
2026-08-22 19:27:22 -07:00