Skip to content

RTL bug with Text component #10812

@alizahid

Description

@alizahid

Description

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.

ltr-arabic

However, if the app is RTL, this happens.

rtl-arabic

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

Metadata

Metadata

Assignees

Labels

BugGood first issueInterested in collaborating? Take a stab at fixing one of these issues.Platform: iOSiOS applications.Resolution: LockedThis issue was locked by the bot.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions