stream-chat-react
stream-chat-react copied to clipboard
bug: messages with markdown content make channel preview grow
Describe the bug
Channel preview parses message text as markdown. This leads to rendering multi-line text in some cases and thus increases the height of the preview.
To Reproduce
Steps to reproduce the behavior:
| Message in message list | Message in channel preview |
|---|---|
![]() |
![]() |
![]() |
![]() |
Expected behavior
- Render only the first line of the message
- Longer lines are shortened with ellipsis
Package version
- stream-chat-react: 10.1.1
- stream-chat-css: 3.1.1



