To repro:
- Clone this repo,
yarn
npx pod-install
Then run the app on an iPad or on iPhone, and rotating the device will cause the custom header button to disappear.
Using:
"@react-native-community/masked-view": "^0.1.10",
"@react-navigation/native": "^5.7.6",
"react": "16.13.1",
"react-native": "0.63.3",
"react-native-gesture-handler": "^1.8.0",
"react-native-reanimated": "^1.13.1",
"react-native-safe-area-context": "^3.1.8",
"react-native-screens": "^2.11.0"