-
-
Notifications
You must be signed in to change notification settings - Fork 580
Description
Description
- I added this issue because it may be related to this issue ([android][newArchEnabled] Error navigating back when re-entering the app after opening another app react-navigation/react-navigation#12765) in react-native-navigation
If you open a picker to select a file using a library such as @react-native-documents/picker, if you exit the app and re-enter, when you navigate back, the styles of the screen header are lost, as well as the wallpaper.
I've tested with several versions of react-native: 0.79.6, 0.80.2, and 0.81.1.
I've tested with @react-navigation/native versions 7.x and 6.x.
It has been tested on a physical device with Android 16 and on emulators with Android 15 and Android 16.
IMPORTANT -> This error occurs if newArchEnabled=true
Steps to reproduce
Clone this repository https://github.com/mgvictor7/AwesomeProject_79_6.git
- Navigate to last screen and press to "Open document picker"
- Go back until you exit the app
- Access the app again and navigate back and forth.
- When you go back, the screen’s content disappears and the header style reverts to default.
491537521-27f74cf2-2640-4e8c-a3e6-4e3324d18449.mp4
Snack or a link to a repository
https://github.com/mgvictor7/AwesomeProject_79_6.git
Screens version
4.16.0
React Native version
0.79.6
Platforms
Android
JavaScript runtime
Hermes
Workflow
React Native (without Expo)
Architecture
Fabric (New Architecture)
Build type
None
Device
Android emulator
Device model
No response
Acknowledgements
Yes