Header views flicker when navigating back on new arch #2243
Labels
NewArch
Issues related only to new architecture
Platform: iOS
This issue is specific to iOS
Repro provided
A reproduction with a snack or repo is provided
Description
When navigating back via
navigation.goBack
theheaderTitle
view from the top screen disappears during the transition. Note this only happens when navigating from JS, not when navigating via the native back button. This also only happens on new arch.You can observe the behaviour in the following video:
Screen.Recording.2024-07-09.at.16.48.02.mov
When click "Go back" the header switches to fully blank view, then the previous screen headers fades in.
During the 2nd back navigation when using the native back button instead, you can see the flicker does not happen and the transition is smooth.
Steps to reproduce
Snack or a link to a repository
https://github.com/janicduplessis/react-native-screens/tree/%40janic/header-flick
Screens version
main@151c1c74cfcc4ae4e6cbf987b64472be8d17dc9c
React Native version
0.73
Platforms
iOS
JavaScript runtime
Hermes
Workflow
React Native (without Expo)
Architecture
Fabric (New Architecture)
Build type
Debug mode
Device
iOS simulator
Device model
No response
Acknowledgements
Yes
The text was updated successfully, but these errors were encountered: