-
Notifications
You must be signed in to change notification settings - Fork 81
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
How to dimiss a modal navigation stack with a new Route #49
Comments
Facing the same issue. Will post here if I find a solution. |
Same issue here, any updates on it?
|
This also has been an issue for us. |
I'm not using the Router; what do you think could be a solution here? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Imagine a navigation controller which gets presented and contains multiple viewcontrollers, which are pushed because of a Route constructed out of Route identifiers with respect to some user navigation flow, e.g. the route might be; [root, nav, vcA, vcB, vcC].
Popping one viewcontroller is achieved by dispatching a SetRouteAction, with for example a new route, e.g. [root, nav, vcA, vcB].
This works fine, but if for example the user wants to dismiss the presented viewcontroller, the route should be for this example; [root].
However doing so, will just pop (animated) each viewcontroller and then dismiss the presented viewcontroller.
What will be a good way to get the presented viewcontroller dismissed in one time with a route action? I was thinking of using the SpecificRouteData option... but maybe it is better to just dismiss the presented viewcontroller and then update the route path..
any ideas?
The text was updated successfully, but these errors were encountered: