Multiple MountingCoordinator::pullTransaction -> ShadowViewMutation::Type::Create for bottom tab components(except for initial tab)
What happened?
Good day. When debugging the problem with entering animations - elements doesn't show on all bottom tabs except initial tab when using entering layout animation from the react-native-reanimated library - on the bottom tabs I noticed a problem - for elements on the other tabs(in code example Main) except initial tab(in code example initialTab=App) MountingCoordinator::pullTransaction for the same component tag called twice with Create->Insert. But if we create element on the initial screen - it called once. I'm not sure that is correct behavior. I attached a video below to show how it affects entering animations, and some logs from xcode which show that pullTransaction calls twice with Create type for the same node tag.
https://github.com/user-attachments/assets/dc285256-6d27-455c-8b6e-a012fbdafbd0
What was the expected behaviour?
Components should appear. Create mutation should be called once
Was it tested on latest react-native-navigation?
- [x] I have tested this issue on the latest react-native-navigation release and it still reproduces.
Help us reproduce this issue!
repo, reproducible almost always https://github.com/Belobopka/wix-rnn-rnlayout-crash2/tree/tab-entering-layout-bug
In what environment did this happen?
React Native Navigation version: 8.3.1 React Native version: 0.77.2 Has Fabric (React Native's new rendering system) enabled: (yes/no) yes Node version: v18.20.8 Device model: emulator iphone 15 pro iOS version: 18.1 react-native-reanimated: 3.16.7
@Belobopka Thanks for the report. I've opened an issue in Reanimated project that describes the issue: https://github.com/software-mansion/react-native-reanimated/issues/8344
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you believe the issue is still relevant, please test on the latest version and report back. Thank you for your contributions.