diff --git a/src/libs/Navigation/AppNavigator/getRootNavigatorScreenOptions.ts b/src/libs/Navigation/AppNavigator/getRootNavigatorScreenOptions.ts index 9af92dd3e019..b294e6d7ab11 100644 --- a/src/libs/Navigation/AppNavigator/getRootNavigatorScreenOptions.ts +++ b/src/libs/Navigation/AppNavigator/getRootNavigatorScreenOptions.ts @@ -42,8 +42,8 @@ export default (isSmallScreenWidth: boolean, themeStyles: ThemeStyles): ScreenOp ...getNavigationModalCardStyle(), width: isSmallScreenWidth ? '100%' : variables.sideBarWidth, - // We need to translate the sidebar to not be covered by the StackNavigator so it can be clickable. - transform: [{translateX: isSmallScreenWidth ? 0 : -variables.sideBarWidth}], + // We need to shift the sidebar to not be covered by the StackNavigator so it can be clickable. + marginLeft: isSmallScreenWidth ? 0 : -variables.sideBarWidth, ...(isSmallScreenWidth ? {} : themeStyles.borderRight), }, },