Skip to content

[🐛] Truncated text in Android Markdown messages #3082

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
3 of 9 tasks
mccraigmccraig opened this issue May 9, 2025 · 0 comments
Open
3 of 9 tasks

[🐛] Truncated text in Android Markdown messages #3082

mccraigmccraig opened this issue May 9, 2025 · 0 comments

Comments

@mccraigmccraig
Copy link

mccraigmccraig commented May 9, 2025

Issue

Message text sometimes gets truncated on Android when the Accessibility/Display size and text/Bold text setting is enabled

this screencap shows the issue with the bottom two messages:

while this screencap has markdown font-weight constrained to bold in the theme, and renders correctly:

We have currently constrained the font-weight to 500 in the theme to work around the issue, which works - but the theme font-wegith completely overrides the accessibility bold setting, so users get no choice anymore, everyone gets weight 500

Steps to reproduce

Steps to reproduce the behavior:

  1. on an Android chat app, enable the Accessibility/Display size and text/Bold text
  2. send a variety of messages - some will be truncated, presumably depending on some inscrutable property of the message text

Expected behavior

All the text in a message should be displayed, and overflows should wrap to the next line - text should never be truncated

Project Related Information

Customization

Click To Expand

# N/A

Offline support

  • I have enabled offline support.
  • The feature I'm having does not occur when offline support is disabled. (stripe out if not applicable)

Environment

Click To Expand

package.json:

# N/A

react-native info output:

 OUTPUT GOES HERE
  • Platform that you're experiencing the issue on:
    • iOS
    • Android
    • iOS but have not tested behavior on Android
    • Android but have not tested behavior on iOS
    • Both
  • stream-chat-react-native version you're using that has this issue:
    • 5.36.2 - I tried 6.7.4 and that had the same issue
  • Device/Emulator info:
    • I am using a physical device
    • I am also using an emulator
    • OS version: Android 15
    • Device/Emulator: Pixel 8

Additional context

Screenshots

Click To Expand


@mccraigmccraig mccraigmccraig changed the title [🐛] Bug Report Title - CHANGE ME [🐛] Truncated text in Android Markdown messages May 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant