react-native-screens
react-native-screens copied to clipboard
White flash on tab change with @react-navigation/bottom-tabs
Description
When I'm using @react-navigation/bottom-tabs
with the native stack navigator, I see a white flash on tab transition in IOS.
If I replace @react-navigation/native-stack
by @react-navigation/stack
, white flash disappear.
I think it can be related to https://github.com/software-mansion/react-native-screens/issues/1276 but I'm not sure we talk about the same issue.
https://user-images.githubusercontent.com/10655690/203101057-2af9f31c-674b-47eb-9dba-dded56bb9753.mp4
Steps to reproduce
- Get Minimal reproduction repo https://github.com/gkueny/native-stack-flash-issue-reproduction
- Install dependencies
- Run APP
- Navigate between tab screen
Snack or a link to a repository
https://github.com/gkueny/native-stack-flash-issue-reproduction
Screens version
3.20.0 & 3.29.0
React Native version
0.69.7 & 0.73.6
Platforms
iOS
JavaScript runtime
No response
Workflow
React Native (without Expo)
Architecture
No response
Build type
Debug mode
Device
iOS simulator
Device model
No response
Acknowledgements
Yes
Hi @gkueny, would you mind confirming whether this issue appears on iOS 15.x? There've been quite a few issues recently, that are specific to iOS 16 and are caused by internal system changes. Would like to know if it is the case.
Hi @kkafar ,
I can confirm that I reproduce the issue in iOS 15.5 (simulator)
Thank you, I'll look into this
We're experiencing the same issue. Any update?
@techgerm not on my end. I update the minimal reproduction repo with latest version of @react-navigation/*
& react-native-screens
but with no luck
I get this issue as well. Wonder if it's related to this conversation where "flickering" is discussed? https://github.com/react-navigation/react-navigation/issues/11285
Facing this same issue
@kkafar has there been any moment on this issue so far?
Curious about this also, same setup, ios, botom navigator and latest version of native screens
I updated minimal reproduction with latest version of each lib & latest version of react-native : https://github.com/gkueny/native-stack-flash-issue-reproduction/commit/46045f1671d122943b78c0fc9badd71e4a69a888
Issue is still present