createNativeStackNavigator does not include StatusBar height padding Android
On Android only, the following calls have different rending results
createNativeStackNavigator()

createStackNavigator()

Images were from the Pixel 2 emulator but I was able to replicate the issue on a OnePlus 7 Pro.
Performance for createNativeStackNavigator() is phenomenal!
Environment
App is identical except for the following 2 lines
const Stack = createNativeStackNavigator<RootParamList>();
// const Stack = createStackNavigator<RootParamList>();
| software | version |
|---|---|
| @react-navigation/core | 5.0.0-alpha.27 |
| @react-navigation/native | 5.0.0-alpha.17 |
| @react-navigation/native-stack | 5.0.0-alpha.15 |
| @react-navigation/stack | 5.0.0-alpha.42 |
| react-native | expo sdk-36.0.0 |
| @react-native-community/masked-view | 0.1.5 |
| expo | 36.0.0 |
| node | 12.10.0 |
| npm or yarn | 1.19.1 |
The issue happens because Expo includes an older version of react-native-screens which has this bug. So Expo will either need to update it, or you can temporarily eject until Expo releases new version of the SDK.
@satya164 Good to know since the performance is outstanding.
This is still happening with react-native-screens 2.0.0-alpha.29 without expo, any thoughts ?