-
Notifications
You must be signed in to change notification settings - Fork 1.1k
RTL is not supported! #184
Comments
Can you send a PR to fix this? |
This bug also affects react-navigation. The TabNavigator is not working: |
Inside TabViewPagerScroll.js putting |
@yaronlevi, look at my last comment here: facebook/react-native#11960 (comment) @moerabaya, I sent a PR #194, until it merged, you can use one of these:
|
Re-opening this since RTL is not yet supported in |
@satya164, iOS ScrollView has been fixed in ReactNative v0.43.2 (facebook/react-native#11960 (comment)) |
Nice. I think we may still need to handle the scroll position etc. |
This one uses a custom indicator, that's why. Should be easy to fix.
Yeah, this one will be more involved |
Any updates on this one? |
If you need this, pull requests are welcome. |
@satya164 - I created a pull request to add support for RTL. I hope it can be accepted and merged. Thank you. |
Adding a link to the PR - not sure if 2 months is a reasonable time or not. I'm sure the team is busy... |
Hey there @noambonnie. I've taken a look at your fix and I've tested it on both iOS and android. While this fixes the issue on android, it breaks iOS so I've just added a platform specific condition. Take a look at my fork: https://github.com/horodnicdragos/react-native-tab-view Not sure if this is the best approach on the long term but having this merged would be amazing. Do you want to update your PR or should I do one? |
@horodnicdragos what's broken on iOS? Does your code (ignoring iOS for those calculation) work fine on iOS RTL? If broken on iOS we'll need to fix it there too. If your fix works on both platforms in RTL (and LTR...) then fine |
Yes, for some reason the calculations are not required on iOS. I'll make the PR and hope for the best. |
@horodnicdragos please note that your PR failed the linter requirements. Follow the test procedures at the bottom of the project page (under "Contributing"). Otherwise it won't even be considered. |
I hope it gets merged soon... |
is it going to be merged soon? |
it is already merged and released. but the PR is Android only. |
@0xori It is working just fine on iOS for me. Did you encounter any RTL issues? By the way, I've only fixed the issue on the scrollbar top bar which I was using. Didn't get the change to look at the bottom one. |
still having the same issue on android , for ios it is fixed using this #675 |
any updates on this ? |
@FadiAboMsalam It's marked as "help wanted". PR welcome. |
in TabBar.js
|
this issue doesn't fix, please don't close |
@hosseinmd please open a new issue with a runnable repro as mentioned in the issue template. |
I resolve this, that is my fault |
I am having the same issue on IOS. Did anyone manage to solve it? |
+1 |
1 similar comment
+1 |
this issue is still happening on iOS |
i have fixed this issue on iOS will make a new PR |
What i'm suffering from is that the tabs still functioning the same as the LTR after switching to RTL, I know what seems to be the issue because I have a custom indicator, but i'm not able to use negative values to translate them to the opposite.
Thank you so much.
The text was updated successfully, but these errors were encountered: