RTL bug with Text component
See original GitHub issueDescription
When I18nManager.forceRTL(true)
to test my RTL app, I came across a bug with the <Text>
component.
When the app is LTR, multiline text in Arabic renders from right to left, with the subsequent lines starting from right as well.
However, if the app is RTL, this happens.
I used flexDirection: 'flex-start'
on the <Text>
to make it start from the correct side. I tried using textAlign: 'right'
, but had no luck.
Reproduction
https://rnplay.org/apps/GfNikw
Additional Information
- React Native version: 0.36.1
- Platform: iOS
- Operating System: MacOS
Issue Analytics
- State:
- Created 7 years ago
- Reactions:13
- Comments:51 (7 by maintainers)
Top Results From Across the Web
RTL Bugs - The Document Foundation Wiki
RTL language independent bugs. Such bugs should all be filed on The Document Foundation's bugzilla instance. There is a RTL-CTL Meta Bug ......
Read more >Bug in Flutter, while editing text in RTL languages
I solve this bug .. in your TextField you should use controller and onTab function write if (textController.selection == TextSelection.
Read more >Can't select RTL text from Chrome UI boxes - Monorail
Issue 8686 : RTL: Can't select RTL text from Chrome UI boxes · 1. Run Hebrew Chrome · 2. Hit Ctrl + F...
Read more >RTL Bugs in Rich Text / WYSIWYG editor - Prismic People
1) Rich Text field. If you toggle RTL button in the Rich Text Configuration after the custom type has already been created /...
Read more >Topic: Possible bug in text rtl layout / sciter
Possible bug in text rtl layout ... This topic has 4 replies, 2 voices, and was last updated 1 year, 6 months ago...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This issue makes me glad we Jews an Arabs finally found a common enemy!
@ali-sao You need to import
RCTI18nUtil
first at the top