Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
## Summary This PR aims to fix some unexpected behaviour during `FadingTransition`. | before | after | | --- | --- | | <video src="https://github.com/software-mansion/react-native-reanimated/assets/36106620/e855c796-a926-48bf-b55d-80014694043d" /> | <video src="https://github.com/software-mansion/react-native-reanimated/assets/36106620/004bd2f6-2bb7-41b2-af1d-6d98a94908c0" /> | Expected behavior: - The component stays in the original position. - Starts the fade-out animation. - Wen component is invisible, changes position to the target position. - Starts the fade-in animation. In the previous approach, when the `delayFunction` was not specified (when no one called `.delay()`), the component jumped to the final position after 50ms instead of waiting until the component became invisible. ## Test plan I tested it on the example from #6151
- Loading branch information