Open Jpunt opened 6 years ago
Almost a year late, still the same. I had to render null
and the component conditionally instead of using visible
prop.
const StackNav = createStackNavigator({ Main }, { navigationOptions: { headerForceInset: { top: 'never' }, } });
You can hide extra height on stackNavigator.
When the StatusBarAlert pushes down a StackNavigator of ReactNavigation, it also pushes down the spacing inside the header (meant for the statusbar). Is there any way to fix this?