fix(ui): load messages when list cannot scroll - #13708
Merged
Merged
Conversation
abhinavohri
requested review from
ChristophWurst,
GretaD and
kesselb
as code owners
September 20, 2026 07:52
When the first page fits within the list viewport, no scroll event fires and pagination stops even though more messages exist. Recheck the infinite-scroll threshold after list updates so the remaining pages can load. Assisted-by: Codex:gpt-5 Signed-off-by: Abhinav Ohri <abhinavohri13@gmail.com>
abhinavohri
force-pushed
the
fix/list-layout-load-more
branch
from
September 20, 2026 07:57
187948f to
1e5f733
Compare
GretaD
approved these changes
Sep 20, 2026
GretaD
left a comment
Contributor
There was a problem hiding this comment.
tested and works, thanks a lot
Contributor
|
/backport to stable5.12 please |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #13642
In list layout, the first 20 messages can fit within a tall viewport. No scroll event fires, so Mail never requests the remaining messages.
To fix this, we check the infinite-scroll threshold after the message list updates. This allows the next page to load even when the list cannot yet scroll. The load-more handler also prevents overlapping requests and stops after the final page.
馃 AI (if applicable)