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-16 19:31:33 -07:00
2026-06-14 22:43:49 -07:00
2026-06-16 19:31:33 -07:00
2026-06-16 21:25:39 -07:00
2026-06-14 22:43:49 -07:00
2026-06-16 15:08:24 -07:00
2026-06-16 19:40:56 -07:00
2026-06-16 20:13:13 -07:00
2026-06-16 18:09:46 -07:00
2026-06-17 06:12:06 +08:00
2026-06-08 15:19:27 -07:00
2026-06-14 22:43:49 -07:00