gsxdsm
602fefff19
FN-6498: smooth mobile quick chat viewport tracking
Keep the mobile Quick Chat sheet aligned with visualViewport changes without redundant layout writes.
- Dedupe repeated mobile visualViewport samples before updating sheet CSS variables.
- Reset viewport tracking state and CSS variables on close/unmount to prevent stale reopen sizing.
- Add regression coverage for mobile tracking, reopen behavior, desktop bypass, and missing visualViewport fallback.
- Document the viewport-smoothing pitfall alongside the keyboard board-shift solution.
Files changed:
.../quick-chat-mobile-keyboard-board-shift.md | 4 +
packages/dashboard/app/components/QuickChatFAB.tsx | 25 +++-
.../app/components/__tests__/QuickChatFAB.test.tsx | 141 +++++++++++++++++++++
3 files changed, 167 insertions(+), 3 deletions(-)
Fusion-Task-Id: FN-6498
Fusion-Task-Lineage: 23c17843-778a-4337-aeed-c80793615738
2026-06-16 21:25:39 -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-06-13 16:30:28 -07:00
2026-06-09 22:44:30 -07:00
2026-06-16 21:25:39 -07:00
2026-06-03 15:05:40 -07:00
2026-06-11 19:51:19 -07:00
2026-06-13 17:26:12 -07:00
2026-06-13 16:30:28 -07:00
2026-06-13 20:46:54 -07:00