navigation.dispatch() works flaky on iOS (new arch) #1949
Labels
Platform: iOS
This issue is specific to iOS
Repro provided
A reproduction with a snack or repo is provided
Description
When I was testing #1738, I've spotted a weird bug while using navigation.dispatch() with type RESET on iOS.
It seems that when user dispatches a reset to the navigation.dispatch, the screen is not changed - moreover, when orientation is also being changed, this view is being skewed during the rotation, resulting view to be narrowed:
Screen.Recording.2023-10-27.at.15.49.34.mov
As I have discovered, this issue should be reproducible on iOS 17, I've also tested it on iOS 16.
Steps to reproduce
Snack or a link to a repository
https://github.com/tboba/screens-repro/tree/%40tboba/rns-orientation-glitch
Screens version
3.27.0
React Native version
0.72.4
Platforms
iOS
JavaScript runtime
Hermes
Workflow
None
Architecture
Fabric (New Architecture)
Build type
None
Device
iOS simulator
Device model
iPhone 15 Pro (iOS 17.0)
Acknowledgements
Yes
The text was updated successfully, but these errors were encountered: