-
-
Notifications
You must be signed in to change notification settings - Fork 538
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(iOS): app freeze when navigating back from any modal nested in co…
…ntained modal (#1996) ## Description Updated logic in `RNSScreenStackView#setModalViewControllers:` so that it handles case when navigating back from top-level VC that was not presented by the screen stack itself, as it happens with `UIModalPresentationCurrentContext` & `UIModalPresentationOverCurrentContext`. Fixes #1813 ## Changes We now check whether the top-level VC should be dismissed by the stack being asked. ## Test code and steps to reproduce See #1813 for reproduction steps. I'm also adding these in `Example` application. ## Checklist - [x] Included code example that can be used to test this change - [x] Ensured that CI passes
- Loading branch information
Showing
3 changed files
with
29 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters