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

Can we dismiss all covered screen? #89

Open
SouHanaQiao opened this issue Dec 4, 2024 · 1 comment
Open

Can we dismiss all covered screen? #89

SouHanaQiao opened this issue Dec 4, 2024 · 1 comment

Comments

@SouHanaQiao
Copy link

SouHanaQiao commented Dec 4, 2024

navigator.dismissAll() just dismiss one, can we dismiss all? iPhone 13 Pro Max simulator, iOS 16.0

@johnpatrickmorgan
Copy link
Owner

Thanks @SouHanaQiao,navigator.dismissAll() should dismiss all full-screen covers and sheets (but not pop any pushed screens in the root). If you are seeing different behaviour, please can you share a reproduction? E.g. are you using nested coordinators?

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

No branches or pull requests

2 participants