-
-
Notifications
You must be signed in to change notification settings - Fork 241
navigate back multiple times with one step #1167
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
Comments
Hi @cindy-m, Something that I would suggest is to make the navigation with clear history option or to navigate back to the goBack() method as time as it needed. |
@tsonevn is it possible to see somewhere what the status is of this new feature? So that we can implement and use it as soon as it will be released |
Any update for this issue? |
Hi @franculeto, |
Another way is to use
|
In the app where I am currently work on, we have a situation where the user can navigate 4 pages down, with everywhere the possibility to go back one step. At the end of page 4, the user needs to be navigated back to page 2, with the back button in page 2 still working. So, actually go back 2 steps with just one animation.
I could not find how to this with the routerExtension in any way. Use Frame.goBack(to:BackStackEntry) works to navigate back to the second page, but when the user than taps back to the first page, the navigation brakes and it is not possible to move to the second page anymore (all other navigations to other path that was not used before does work correctly).
Is there a way to go back more than one page in just one step without clearing the whole history so that the back button still works on that page?
I found this issue already in stacklayout where they have the same problem: NativeScript/NativeScript#3848
But I could not implement the suggested solution myself, (at least not without changing the code of NativeScript-angular itself and that is something we absolutely don't want)
The text was updated successfully, but these errors were encountered: