-
-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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
Header title overlap back arrow #4754
Comments
The same problem
|
It is the opposite in my case. A big left margin appeared. |
public static navigationOptions: NavigationStackScreenOptions = {
title: "Бюджет",
headerRight: <View
style={
{
flex: 1,
flexDirection: "row",
alignItems: "center",
justifyContent: "space-between",
width: 28+28+10,
marginRight: 10,
}
}
>
<TouchableOpacity
onPress={
() => {}
}
>
<Feather
name="filter"
size={28}
color="#000000"
/>
</TouchableOpacity>
<TouchableOpacity
onPress={
() => {}
}
>
<Feather
name="plus"
size={28}
color="#000000"
/>
</TouchableOpacity>
</View>,
headerStyle: {
elevation: 1,
marginBottom: 1,
backgroundColor: "#fafafa",
},
headerTitleStyle: {
fontWeight: "200",
fontFamily: "Roboto",
},
headerTransparent: true,
headerTitleAllowFontScaling: true,
}; |
I am facing same problem Sharing my work around to avoid this, until this issue gets solved. (However, margins are still wrong) static navigationOptions = {
title: 'Seguidores',
// Empty view to avoid small bug https://github.com/react-navigation/react-navigation/issues/4754
headerRight: <View />,
} |
thanks @Ariel-Rodriguez for the info, I'll fix this right away |
Having the same issue as @Dimous & @Ariel-Rodriguez, happened when I upgraded from 2.3 release. |
fixed in 2.9.1, thank you everybody for the info to help track it down! |
My code
Output
My Environment
The text was updated successfully, but these errors were encountered: