Skip to content

fix(reactions): fix sent message reaction alignment#4355

Merged
jamesarich merged 1 commit into
mainfrom
fix/react-alignment
Jan 29, 2026
Merged

fix(reactions): fix sent message reaction alignment#4355
jamesarich merged 1 commit into
mainfrom
fix/react-alignment

Conversation

@jamesarich

Copy link
Copy Markdown
Collaborator

Fixes reaction row alignment for sent messages

The modifier for `ReactionRow` is now correctly applied to the `AnimatedVisibility` container instead of its child `LazyRow`.

This change ensures that when reactions are animated in or out, the layout alignment and padding defined by the modifier are applied to the animation container itself, preventing potential layout jumps or incorrect positioning during the transition. The `AnimatedVisibility` around `ReactionRow` in `MessageItem.kt` was also removed as it was redundant, since `ReactionRow` already contains its own `AnimatedVisibility` with the proper logic.

Signed-off-by: James Rich <2199651+jamesarich@users.noreply.github.com>
@github-actions github-actions Bot added the bugfix PR tag label Jan 29, 2026
@jamesarich jamesarich changed the title refactor(messaging): Apply modifier to AnimatedVisibility in ReactionRow fix(reactions): fix sent message reaction alignment Jan 29, 2026
@codecov

codecov Bot commented Jan 29, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 0.00%. Comparing base (49da6a8) to head (d9267a7).
⚠️ Report is 2 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@          Coverage Diff          @@
##            main   #4355   +/-   ##
=====================================
  Coverage   0.00%   0.00%           
=====================================
  Files          3       3           
  Lines         28      28           
  Branches       8       8           
=====================================
  Misses        28      28           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@jamesarich jamesarich added this pull request to the merge queue Jan 29, 2026
Merged via the queue into main with commit 68beca6 Jan 29, 2026
12 checks passed
@jamesarich jamesarich deleted the fix/react-alignment branch January 29, 2026 13:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix PR tag

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant