Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stop rejecting on dismissAllModals if no modals are displayed #5991

Merged
merged 1 commit into from
Mar 3, 2020

Conversation

guyca
Copy link
Collaborator

@guyca guyca commented Mar 3, 2020

This commit adds parity with iOS which does not reject the promise if dismissAllModals is called while no modals are displayed.

This commit adds parity with iOS which does not reject the promise if dismissAllModals is called while no modals are displayed.
@yogevbd yogevbd merged commit 30b0b47 into master Mar 3, 2020
@yogevbd yogevbd deleted the dontRejectOnDismissAll branch March 3, 2020 11:06
guyca added a commit that referenced this pull request Mar 18, 2020
When no modals are displayed and dismissAllModals is called, resolve the promise successfully. This regression was introduced in #5991
stachu2k pushed a commit to stachu2k/react-native-navigation that referenced this pull request Apr 8, 2020
This commit adds parity with iOS which does not reject the promise if dismissAllModals is called while no modals are displayed.
stachu2k pushed a commit to stachu2k/react-native-navigation that referenced this pull request Apr 8, 2020
When no modals are displayed and dismissAllModals is called, resolve the promise successfully. This regression was introduced in wix#5991
stachu2k pushed a commit to stachu2k/react-native-navigation that referenced this pull request Apr 8, 2020
stachu2k pushed a commit to stachu2k/react-native-navigation that referenced this pull request Apr 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants