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-23 11:40:06 -07:00
2026-07-18 12:41:42 -07:00
2026-07-26 11:17:52 -07:00
2026-08-15 23:14:24 -07:00
2026-07-30 13:55:10 -07:00
2026-07-26 09:50:44 -07:00
2026-07-01 11:12:59 -07:00
2026-07-01 07:33:56 -07:00
2026-06-30 18:15:10 -07:00
2026-08-21 04:32:53 +00:00
2026-08-23 01:37:58 +00:00
2026-08-21 04:32:53 +00:00
2026-05-14 02:23:45 -07:00
2026-07-30 02:47:26 -07:00
2026-05-18 03:10:52 -07:00
2026-07-16 03:17:35 -07:00
2026-05-21 08:43:57 -07:00
2026-07-26 11:17:52 -07:00
2026-07-15 14:06:42 -07:00
2026-08-23 01:37:58 +00:00
2026-06-25 12:25:13 -07:00
2026-05-22 17:24:38 -07:00
2026-05-12 21:55:43 -07:00
2026-06-14 13:50:17 -07:00
2026-08-01 01:00:57 -07:00
2026-07-16 14:08:43 -07:00
2026-06-27 23:53:51 -07:00
2026-04-23 00:06:03 -07:00
2026-04-02 09:58:04 -07:00
2026-07-30 12:46:12 -07:00
2026-07-04 21:28:19 -07:00
2026-08-17 21:39:06 -07:00
2026-08-23 11:40:06 -07:00
2026-04-23 23:02:36 -07:00
2026-04-03 18:33:23 -07:00
2026-08-08 23:54:40 -07:00
2026-05-08 18:44:16 -07:00
2026-07-18 00:33:14 -07:00
2026-06-30 19:21:53 -07:00
2026-04-29 07:10:52 -07:00
2026-08-15 06:42:39 -07:00
2026-06-27 23:47:21 -07:00
2026-07-30 08:06:04 -07:00
2026-07-11 22:16:48 -07:00
2026-04-08 14:38:36 -07:00
2026-06-02 14:14:24 -07:00
2026-08-21 04:32:53 +00:00
2026-07-02 11:38:31 -07:00
2026-08-21 19:30:08 -07:00
2026-08-20 03:55:38 +00:00
2026-06-17 17:57:19 -07:00
2026-08-11 14:22:14 -07:00
2026-07-19 16:44:40 -07:00
2026-07-30 02:38:58 -07:00
2026-08-05 11:39:23 -07:00
2026-08-11 14:22:14 -07:00
2026-05-20 20:27:11 -07:00
2026-05-07 18:35:45 -07:00
2026-07-30 12:46:12 -07:00
2026-07-26 11:17:52 -07:00
2026-08-17 15:47:43 -07:00
2026-05-14 05:55:16 -07:00
2026-05-19 18:56:24 -07:00
2026-06-14 13:50:17 -07:00
2026-08-06 08:11:22 -07:00
2026-07-16 20:28:05 -07:00
2026-08-01 13:30:18 -07:00
2026-05-13 06:29:35 -07:00
2026-08-07 20:33:42 -07:00
2026-08-15 13:39:24 -07:00
2026-08-20 03:57:23 +00:00
2026-08-03 00:20:53 -07:00
2026-07-12 13:06:08 -07:00
2026-04-28 22:43:51 -07:00
2026-08-23 11:40:06 -07:00
2026-07-18 13:50:58 -07:00
2026-08-21 10:57:44 -07:00