You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I've recently upgraded my react native app from 0.79 to 0.81 and I've noticed some bugs with the bottom bar + detachInactiveScreen options + animation option.
The bugs is that when I switch tabs, sometime, the screen is empty/blank.
It has already been reported in react-navigation, but it has been tagged "react-native-screen" which makes me think it won't be solved anytime soon :) (Also I guess this is really a react-native screen bug since the bug only appear with detachInactiveScreen=true)
play with the tabs and the Scrollview a little, (scrolling a ScrollView, and switching tabs right after is the most effective way to reproduce the bug I think),
Description
Hi,
I've recently upgraded my react native app from 0.79 to 0.81 and I've noticed some bugs with the bottom bar + detachInactiveScreen options + animation option.
The bugs is that when I switch tabs, sometime, the screen is empty/blank.
It has already been reported in react-navigation, but it has been tagged "react-native-screen" which makes me think it won't be solved anytime soon :) (Also I guess this is really a react-native screen bug since the bug only appear with detachInactiveScreen=true)
react-navigation/react-navigation#12755
I've been able to reproduce it in a fresh new app:
blanc.tab.screen.bug.mov
You can find a demo app with the bug here:
https://github.com/ACHP/react-native-screen-empty-tabs-bug
I've tried with rn-screen 4.16.0, 4.23.0 and 4.24 …
Some early investigation:
We can see the screen is mounted
But when I use xCode view debugging
Steps to reproduce
Snack or a link to a repository
https://github.com/ACHP/react-native-screen-empty-tabs-bug
Screens version
4.24.0
React Native version
0.81.6
Platforms
iOS
JavaScript runtime
Hermes
Workflow
Expo bare workflow
Architecture
Fabric (New Architecture)
Build type
Debug mode
Device
Real device
Device model
No response
Acknowledgements
Yes