[V3] [Android] Top bar title is not centering, parent view now overlaps right buttons
Issue Description
We use a custom top bar title component. After updating to V3, passing 'center' in the styling no longer works, and the text aligns to the left. Additionally, the right buttons seem to be getting overlapped with a transparent view, which makes them unable to be tapped.
Steps to Reproduce / Code Snippets / Screenshots
topBar: {
elevation: 0,
buttonColor: 'black',
backButton: {
...{ icon: Platform.OS === 'ios' ? undefined : Icons.backArrow },
color: 'black',
},
title: {
component: {
name: types.navBarTitle,
passProps: {
title,
},
alignment: 'center',
},
},
},
Title Component
render() {
const { title } = this.props;
return (
<Text allowFontScaling={false}>
{title ? title.toUpperCase() : ''}
</Text>
);
Environment
- React Native Navigation version: 3.2.0
- React Native version: 6.1.3
- Platform(s) (iOS, Android, or both?): Android
- Device info (Simulator/Device? OS version? Debug/Release?): Simulator. Debug.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you believe the issue is still relevant, please test on the latest Detox and report back. Thank you for your contributions.
The issue has been closed for inactivity.
This is still an issue for me on RNN 6.7.3.