-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Description
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.
Screen.Recording.2025-09-03.at.14.32.56.mp4
What was the expected behaviour?
Components should appear. Create mutation should be called once
Was it tested on latest react-native-navigation?
- 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