bug(iOS): transitionStart is not triggered for anything but default navigation #2178
Labels
Platform: iOS
This issue is specific to iOS
Repro provided
A reproduction with a snack or repo is provided
Description
transitionStart
is never reported forpresentation
modes other than the default. When switching tomodal
ortransparentModal
, it only reportstransitionEnd
. When closing the modal, it reports bothtransitionStart
andtransitionEnd
.If the target is pushed normally, it works correctly. This bug occurs only on iOS, not on Android. Open the snack with iOS and check the logs. I have added two buttons, both pushing to the same screen. Only the default one triggers both start and end, while the modal one only emits the end.
Steps to reproduce
Open my Snack and watch the console while testing both buttons.
transitionStart and transitionEnd should work for every presentation mode.
Here is a video showcasing everything:
repro.mp4
Snack or a link to a repository
https://snack.expo.dev/@hirbod/react-navigation-transition-event-bug?platform=ios
Screens version
3.21.0
React Native version
0.74.2
Platforms
iOS
JavaScript runtime
Hermes
Workflow
Expo bare workflow
Architecture
Paper (Old Architecture)
Build type
None
Device
Real device
Device model
All iOS devices
Acknowledgements
Yes
The text was updated successfully, but these errors were encountered: