element-hq / element-hq/element-web
RTL name in a pill starting a message causes the top-level message container to be RTL
- Dominant language
- TypeScript
- Stars
- 13.5k
- Forks
- 2.8k
- PR merge metrics
- PR metrics pending
Description
### Steps to reproduce
Find a user whose name contains (starts with?) RTL characters (observed on `وقار (Waqar)`). Mention them by clicking their name, then write a message in English and send it (or just look at the message editor line). Observe how the message is displayed.
### Outcome

The text order in this message is weird. In writing order, the mention should have been in the beginning of the first line and the full stop should have been in the end of the second line. I'd expect the mention to be self-contained, not affect the text it's in.
### Operating system
Linux
### Browser information
Firefox Nightly
### URL for webapp
develop.element.io
### Application version
Element version: 30cb0ae96dcd-react-9ac85bcaa364-js-2aae2362e3a8
### Homeserver
matrix.org
### Will you send logs?
No
Contributor guide
Assessment
This issue has not been assessed yet.