You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When entering new lines in chat, StreamChat doesn't render the message with those new lines. (String reported from server has new lines: "This is a test message\n\n\n\nAnd I am down here!"
Issue
When entering new lines in chat, StreamChat doesn't render the message with those new lines. (String reported from server has new lines:
"This is a test message\n\n\n\nAnd I am down here!"
Screen.Recording.2024-01-03.at.12.10.21.mov
Steps to reproduce
Steps to reproduce the behavior:
Seems to be behavior across most StreamChat apps? I tried the Slack demo and it seems to be an issue as well.
Expected behavior
Streamchat renders the newline breaks without squashing them down.
Project Related Information
Customization
When changing
MessageContent
prop to render text using React Native's text component, newlines were rendered properly.Offline support
Environment
Click To Expand
package.json
:react-native info
output:stream-chat-react-native
version you're using that has this issue:e.g. 5.4.3
e.g. Android 10
e.g. iPhone 11
Using iOS 17 with latest iPhone emulator
Additional context
Screenshots
Click To Expand
The text was updated successfully, but these errors were encountered: