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