-
-
Notifications
You must be signed in to change notification settings - Fork 586
Closed
Closed
Copy link
Labels
Platform: AndroidThis issue is specific to AndroidThis issue is specific to AndroidRepro providedA reproduction with a snack or repo is providedA reproduction with a snack or repo is provided
Description
Description
After successfully pushing a new screen with router.push(), pressing the back button causes the screen to flash. This issue only occurs when the new architecture is enabled and on Android.
2024-12-12.23-14-40.mp4
Steps to reproduce
- Download the repository.
- Run the command
npm install
. - Start the project using
npm start -- -c
. - Open Expo Go on an emulator or a real device, and scan the QR code.
- Press the "HOLA" button to navigate to the next screen.
- Press the Android back button or the header back button.
It will display a flash when navigating back to the previous screen. I used bright colors to demonstrate the color change.
Snack or a link to a repository
https://github.com/code-504/expo-router-flashing-screen
Screens version
4.4.0
React Native version
0.76.5
Platforms
Android
JavaScript runtime
Hermes
Workflow
Expo managed workflow
Architecture
Fabric (New Architecture)
Build type
Debug mode
Device
Android emulator
Device model
Nexus 5 (Android 7)
It also occurs in physical devices: Pixel 7a (Android 15)
Acknowledgements
Yes
jonshamir
Metadata
Metadata
Assignees
Labels
Platform: AndroidThis issue is specific to AndroidThis issue is specific to AndroidRepro providedA reproduction with a snack or repo is providedA reproduction with a snack or repo is provided