Back from a message returns to the top of the list on a phone #141

Closed
opened 2026-11-22 00:11:45 +00:00 by jcoffey-dev · 1 comment
Owner

Reported on the forum (https://community.coffeylabs.org/t/232, post 46): scroll down the message list, open a message, press Back. The folder comes back scrolled to the top.

At phone width MailView unmounts MessageList while a message is open (showList in MailView.tsx), which takes the scroll container and the virtualizer with it. Back mounts a fresh list at offset 0. Nothing saves the list's position.

Wanted: Back returns to where you were in the list. Either keep the list mounted and hide it while reading, or remember the virtualizer's offset per mailbox or search and restore it on mount.

Code: web/src/views/MailView.tsx, web/src/views/MessageList.tsx.

Reported on the forum (https://community.coffeylabs.org/t/232, post 46): scroll down the message list, open a message, press Back. The folder comes back scrolled to the top. At phone width `MailView` unmounts `MessageList` while a message is open (`showList` in `MailView.tsx`), which takes the scroll container and the virtualizer with it. Back mounts a fresh list at offset 0. Nothing saves the list's position. Wanted: Back returns to where you were in the list. Either keep the list mounted and hide it while reading, or remember the virtualizer's offset per mailbox or search and restore it on mount. Code: `web/src/views/MailView.tsx`, `web/src/views/MessageList.tsx`.
jcoffey-dev added this to the 27.1 milestone 2026-11-22 00:11:45 +00:00
jcoffey-dev added the bug
priority
p3
labels 2026-11-22 00:11:45 +00:00
jcoffey-dev self-assigned this 2026-11-22 00:11:45 +00:00
Author
Owner

Fixed in #144: Back from a message puts the list back where you'd scrolled to, on a phone and with the reading pane off. Ships in the next webmail RC.

Fixed in #144: Back from a message puts the list back where you'd scrolled to, on a phone and with the reading pane off. Ships in the next webmail RC.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: inbuxa/inbuxa-webmail#141