react-native-statusbar-alert
react-native-statusbar-alert copied to clipboard
Wrong spacing in combination with ReactNavigation
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?
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.