Tell us which versions you are using:
Show a custom back button
It's not showing anymore all of a sudden. When I removerenderBackButton() it shows the default button though.
renderBackButton={() => <BackButton /> }
render(){
const { color } = this.props
return(
<TouchableOpacity style={ Style.container } onPress={() => { Actions.main({ type: ActionConst.BACK_ACTION }) }}>
<View>
<Icon name="ios-arrow-round-back-outline" size={35} color="#fff" />
</View>
</TouchableOpacity>
)
}
For me, it's working this way:
const backButton = () => (<Icon name="arrow-back" size={24} color={COLORS.Light} onPress={()=> Actions.pop()} />);
<Scene renderBackButton={backButton} />
@renancsoares That's not working either here
It was a style setting, I had it on 'position: absolute' .. Weird it only fails now
Most helpful comment
It was a style setting, I had it on 'position: absolute' .. Weird it only fails now