Keep the mobile mailbox list anchored after refreshes and SSE updates.
- capture the mobile mailbox content scroll position before inbox, outbox, agent, and approval reloads
- restore the saved scroll position after refreshed mailbox data renders and wire the content container through a ref
- allow vertical scrolling in the mailbox view content area and cover the SSE refresh behavior with a mobile regression test
Files changed:
packages/dashboard/app/components/MailboxModal.css | 3 +-
packages/dashboard/app/components/MailboxView.tsx | 58 +++++++++++++++++++---
.../app/components/__tests__/MailboxView.test.tsx | 35 +++++++++++++
3 files changed, 89 insertions(+), 7 deletions(-)
Fusion-Task-Id: FN-6183
Fusion-Task-Lineage: ea8be80b-4834-4b77-96cd-254e6b0b0795