Skip to content

fix(desktop): keep group DM message actions on-screen#1082

Closed
wesbillman wants to merge 1 commit into
mainfrom
pinky/group-dm-actionbar
Closed

fix(desktop): keep group DM message actions on-screen#1082
wesbillman wants to merge 1 commit into
mainfrom
pinky/group-dm-actionbar

Conversation

@wesbillman

Copy link
Copy Markdown
Collaborator

Summary

Fix group-DM timelines whose intro content can force the timeline content wrapper wider than the viewport. When that happens, even short later messages (for example Hi) inherit the wide row width and their right-anchored hover action bar is clipped off-screen.

This adds min-w-0 to the timeline reveal content wrapper so the group-DM intro and message list shrink within the visible timeline.

Verification

  • Reproduced in the desktop E2E app with a group DM containing long participant display names, then sent and hovered a short Hi message.
    • Before fix: timeline scrollWidth expanded to 2600 while clientWidth was 980; the action bar right edge was off-screen.
    • After fix: timeline scrollWidth == clientWidth == 980; row width 956; action bar right edge 1264 in a 1280 viewport.
  • cd desktop && ../bin/pnpm typecheck
  • cd desktop && ../bin/pnpm check exits 0; it still prints existing unrelated lint warnings in thread-unread-screenshots.spec.ts.

Note

This replaces the earlier markdown-overflow framing in #1079 for the group-DM reaction-bar issue.

Keep the timeline content wrapper from expanding to group-DM intro min-content width so message rows and their hover action bars stay inside the viewport.

Co-authored-by: Pinky <44b8e82baa6e0e254e0208d68f335c283c94e7b78dd1fa10d5a49d3f13dd0435@sprout-oss.stage.blox.sqprod.co>
Signed-off-by: Wes <wesbillman@users.noreply.github.com>
@wesbillman wesbillman force-pushed the pinky/group-dm-actionbar branch from 9e07164 to ba007be Compare June 17, 2026 15:21
@wesbillman wesbillman closed this Jun 17, 2026
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.

1 participant