fix(mobile): prevent message text overlap - #3506
Open
techieasif wants to merge 1 commit into
Open
Conversation
techieasif
marked this pull request as ready for review
July 29, 2026 10:14
Signed-off-by: Mohd Asif <techieasif@gmail.com>
techieasif
force-pushed
the
asif/fix-mobile-message-overlap
branch
from
July 30, 2026 08:58
65941e7 to
82764e8
Compare
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.
Summary
Mobile text messages could leave stale paint over the following message or thread summary after #3370 disabled clipping on every message
Materialto support gallery overflow.This change restores
Clip.antiAliasfor ordinary channel and thread messages while retainingClip.noneonly whenMessageContentdetects an actual trailing multi-image gallery. That keeps gallery cards flush with the trailing gutter without exposing text-only rows to recycled-list paint bleed. A widget regression assertion verifies normal text rows are clipped; the existing gallery assertion continues to verify that galleries are not.Manual verification: rendered the real mobile channel widget tree at the reporter's 475 px width with two thread summaries and confirmed each message and summary occupies its own row. No follow-up work is currently deferred.
Related issue
Fixes #3491.
Duplicate search: no competing open issue or PR found; #3491 is the closest and originating report.
Testing
just ci— passed (full Rust, desktop, Tauri, web, and mobile gate; 883 mobile tests passed, 1 skipped)flutter test test/features/channels/channel_detail_page_test.dart— 52 passedflutter test test/features/channels/message_content_test.dart— 46 passed