Open
Description
🐛 Bug Report
I'm using latest RNN version (7.25) and I'm having the following behavior:
I set right from the navigation setup the below default options:
Navigation.setDefaultOptions({
layout : {
componentBackgroundColor : white,
backgroundColor : white,
orientation : [portrait]
},
blurOnUnmount : true,
topBar : {
animate : false,
hideOnScroll : false,
drawBehind : false,
background : {
color : #FFFFFF
},
title : {
component : {
name : HeaderToolbar,
alignment : fill
}
},
backButton : {
visible : false
},
elevation : 0,
borderColor : rgba(0, 0, 0, 0.12),
borderHeight : 1
},
sideMenu : {
},
animations : {
setStackRoot : {
enabled : true
},
push : {
enabled : true,
content : {
x : {
from : <...>,
to : <...>,
duration : <...>
}
}
},
pop : {
content : {
x : {
from : <...>,
to : <...>,
duration : <...>
}
}
}
}
})
Notice the backButton: { visible: false }
...
However, as soon as I push a screen into my main stack, I have a native back button showing up in the Top bar...
Why is that?
Your Environment
- React Native Navigation version: 7.25.1
- React Native version: 0.66.3
- Platform(s) (iOS, Android, or both?): Android
- Device info (Simulator/Device? OS version? Debug/Release?): device