[V2] Android TopBar LeftButton is not rendering as per docs.
Issue Description and Steps to Reproduce / Code Snippets / Screenshots
Text or Custom Component doesnot get rendered as LeftButton in TopBar.
Setup 1: Make following change in Playground/. You can add left button first and then right button.

Observation: Only right button is rendered, not left button.
Setup 2: Adding a custom component to TopBar left button.
Observation: Only right button gets rendered.
TopBarLeftButton:
const React = require('react');
const { Component } = require('react');
const {
StyleSheet,
View,
Text
} = require('react-native');
class TopBarBackground extends Component {
constructor(props) {
super(props);
}
render() {
return (
<View style={styles.container}>
<Text>hello</Text>
</View>
);
}
}
module.exports = TopBarBackground;
const styles = StyleSheet.create({
container: {
flex: 1,
flexDirection: 'row',
backgroundColor: 'red',
flexWrap: 'wrap'
});
Environment
- React Native Navigation version: 2.0.0
- React Native version: 0.51.1
- Platform(s) (iOS, Android, or both?): Android
- Device info (Simulator/Device? OS version? Debug/Release?): Pixel 2 API 28
Textual left button is also not supported on Android. Only icon buttons are supported as left buttons on Android.
https://github.com/wix/react-native-navigation/issues/3982#issuecomment-422455420
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.