Skip to content

fix(mobile): prevent message text overlap - #3506

Open
techieasif wants to merge 1 commit into
block:mainfrom
techieasif:asif/fix-mobile-message-overlap
Open

fix(mobile): prevent message text overlap#3506
techieasif wants to merge 1 commit into
block:mainfrom
techieasif:asif/fix-mobile-message-overlap

Conversation

@techieasif

Copy link
Copy Markdown

Summary

  • restore clipping for ordinary mobile channel and thread message rows
  • preserve trailing-gutter overflow only for actual multi-image galleries
  • add a regression assertion for text-message clipping while retaining the existing gallery-overflow coverage

Root cause

The gallery polish in #3370 disabled clipping on every message Material, including text-only rows. In recycled mobile timelines, those unclipped rows could leave stale text painted over the following message or thread summary. The fix scopes Clip.none to content that actually renders a trailing image gallery and keeps Clip.antiAlias everywhere else.

User impact

Messages and reply summaries no longer visually overlap, while multi-image galleries still extend flush through the trailing page gutter.

Validation

  • just mobile-check
  • flutter test test/features/channels/channel_detail_page_test.dart (52 passed)
  • flutter test test/features/channels/message_content_test.dart (46 passed)

Closes #3491

Signed-off-by: Mohd Asif <techieasif@gmail.com>
@techieasif
techieasif marked this pull request as ready for review July 29, 2026 10:14
@techieasif
techieasif requested a review from a team as a code owner July 29, 2026 10:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

UI glitch

1 participant