-
-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Closed
Labels
Description
Current behaviour
In rtl layout the tabs underline located in wrong position.
I'm using createMaterialTopBarNavigator
Expected behaviour
When using rtl language, the tab underline should be under the tab header/name
Code sample
export const TabStack = createMaterialTopTabNavigator({
moneyTransfer: { screen: MoneyTransferScreen },
withdrawal: { screen: WithdrawalScreen },
pendingRequests: { screen: PendingRequestsScreen },
},
{
defaultNavigationOptions: {
drawerLabel: translate("operations.label"),
},
lazy: true,
tabBarOptions: {
activeBackgroundColor: color.palette.lightGrey,
inactiveBackgroundColor: color.palette.lightGrey,
scrollEnabled: true,
style: {
backgroundColor: "#212121",
},
indicatorStyle: {
backgroundColor: color.palette.green,
},
labelStyle: {
width: 200,
},
},
animationEnabled: true,
})
Screenshots (if applicable)
What have you tried
didn't tried anything yet as id like to know if there is solution without me need to supply workaround from code
Your Environment
| software | version |
|---|---|
| ios | 12.2 |
| react-native | 0.59.2 |
| react-navigation-tabs | 2.1.0 |
| node | 11.14.0 |
| yarn | 1.15.2 |
