Skip to content

fix: add margin only to other users' messages without open actions dialog#324

Merged
MartinCupela merged 1 commit intomainfrom
fix/remove-margin-active-message-options-react
Feb 5, 2025
Merged

fix: add margin only to other users' messages without open actions dialog#324
MartinCupela merged 1 commit intomainfrom
fix/remove-margin-active-message-options-react

Conversation

@MartinCupela
Copy link
Copy Markdown
Contributor

@MartinCupela MartinCupela commented Feb 4, 2025

🎯 Goal

Applies to React SDK only. The SDK displays the message actions dialog over an overlay. Once the overlay is displayed, the message hover styles are removed. Other users' messages that are not hovered over are applied margin on inline-end as a placeholder for message options. This PR fixes the state, when rendering the said overlay leads the message options being displayed with margin on inline-end. In narrow layouts this leads to message component jumping.

Fixes REACT-268

@MartinCupela MartinCupela merged commit 5231325 into main Feb 5, 2025
@MartinCupela MartinCupela deleted the fix/remove-margin-active-message-options-react branch February 5, 2025 09:11
github-actions Bot pushed a commit that referenced this pull request Feb 19, 2025
## [5.7.1](v5.7.0...v5.7.1) (2025-02-19)

### Bug Fixes

* add margin only to other users' messages without open actions dialog ([#324](#324)) ([5231325](5231325))
* move mention styling outside message ([#325](#325)) ([fb5e0a4](fb5e0a4))
@github-actions
Copy link
Copy Markdown

🎉 This PR is included in version 5.7.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants