-
Notifications
You must be signed in to change notification settings - Fork 24.4k
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
I18nManager.swapLeftAndRightInRTL() doesn't work #19942
Comments
... |
Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may also label this issue as "For Discussion" or "Good first issue" and I will leave it open. Thank you for your contributions. |
This problem still exists on latest version |
Hello there 👋 this issue doesn't have a repro (which means, a |
Environment
Environment:
OS: Windows 10
Node: 10.5.0
Yarn: 1.7.0
npm: 6.1.0
Watchman: Not Found
Xcode: N/A
Android Studio: Version 3.1.0.0 AI-173.4720617
Packages: (wanted => installed)
react: ^16.4.1 => 16.4.1
react-native: ^0.55.4 => 0.55.4
Description
As an RTL native language, I should say that while using the following command in the native RTL apps, left and right mustn't be swapped!
I18nManager.forceRTL(true);
Apparently,
swapLeftAndRightInRTL
is for avoiding this swape, but each of the following commands does not make any changesI18nManager.swapLeftAndRightInRTL(false);
and
I18nManager.swapLeftAndRightInRTL(true);
Please go through this problem.
Note: in native RTL apps, while using
I18nManager.forceRTL(true)
, two conditions may happen in the first run:Therefore, if
swapLeftAndRightInRTL
works properly, the problem can be fixed.The text was updated successfully, but these errors were encountered: