element-hq / element-hq/element-x-android
Arabic text messages sometimes overflow into the time stamp
- Dominant language
- Kotlin
- Stars
- 2.4k
- Forks
- 624
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 149
Description
### Steps to reproduce
Sometimes when sending an Arabic message (right-to-left system) the text is placed incorrectly, specifically the last line of the message is placed on the time stamp. After several tests: single-line messages are normal and correctly placed:

As for multi-line messages, the problem occurs (according to my experience) when there is a difference in the length of the lines, while it is normal when the lines are of equal or almost equal length:


### Outcome
#### What did you expect?
Arabic text messages to be placed correctly
#### What happened instead?
Last line overflows into the timestamp
### Your phone model
Xiaomi K40 gaming
### Operating system version
Android 13
### Application version and app store
Element X version 0.6.3
### Homeserver
matrix.org
### Will you send logs?
No
### Are you willing to provide a PR?
No
Contributor guide
Assessment
This issue has not been assessed yet.