-
Notifications
You must be signed in to change notification settings - Fork 527
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
allow to disable RTL behaivour #212
Comments
Hi @YogiHa I replied to the StackOverflow question you linked. Below is a probable solution Import like so: To force RTL use: In case you don't want RTL then use: Here is the RN Official Blog Link where you will get detailed use cases. |
@subhayughosh I spoke on cases which the whole app is indeed RTL, so the solution of
Less relevant |
@YogiHa Yes agree. The GH issue you raise is relevant and the hack you have is a good workaround. I was answering the SO question which was more about text and not about graphs. |
Hello @YogiHa I have same issue here. My whole app is RTL so the video player controls are reversed. Could you please provide more info about how you fixed this issue? How should I create Also I set |
Hey @theMasix, I will try to create PR later with the option to pass the prop |
@YogiHa Thanks for your future PR. But I have to fix this issue now, I would be happy if you can tell me about the quick fix before the PR |
my app use I18nManager.forceRTL(true); @YogiHa i am waiting for your PR did |
@ferasabufares totally forgot about it, here is the PR - #222 |
currently, there is no good support for RTL cases.
Mostly, there's no need to change the way of displaying the bars or the way seek behavior will affect video volume or position' due to the fact that rtl users used to look on video's as ltr users.
currently, I added manulay:
for a quick fix (and not perfect) of pan behavior,
and
for keep normal shape of bars
Blocking specific view from being rtl seems as a bigger issue with RN https://stackoverflow.com/questions/58144342/react-native-is-there-a-way-disable-rtl-in-a-specific-view-or-maintain-the-same
The text was updated successfully, but these errors were encountered: