react-native-statusbar-alert icon indicating copy to clipboard operation
react-native-statusbar-alert copied to clipboard

Wrong spacing in combination with ReactNavigation

Open JasperH8g opened this issue 7 years ago • 2 comments

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?

screen shot 2018-02-01 at 08 55 11

JasperH8g avatar Feb 01 '18 07:02 JasperH8g

Almost a year late, still the same. I had to render null and the component conditionally instead of using visible prop.

bluenex avatar Jan 28 '19 02:01 bluenex

const StackNav = createStackNavigator({ Main }, { navigationOptions: { headerForceInset: { top: 'never' }, } }); You can hide extra height on stackNavigator.

bakystefan avatar May 18 '19 15:05 bakystefan