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

Fast Forward #41

Closed
Kitos-dev opened this issue Jan 29, 2021 · 1 comment
Closed

Fast Forward #41

Kitos-dev opened this issue Jan 29, 2021 · 1 comment

Comments

@Kitos-dev
Copy link

Hi, awesome work here.
I wonder how to navigate programmatically to any view in hierarchy, but not just popping to a previous one also pushing a far view.
I have a navigation mechanism that should be able to navigate from any view to any other view keeping stack. Useful to use with deep links for example, which I need. It was working fine until found some issues in SwiftUI for certain routes.
So, is this possible now? Maybe a navigationStack.push([View]) Perhaps View should conform to protocol Identifiable ....
Example:
I have a view targetView which can be reached by this route: [root, view1, view2, targetView]
I'm currently in another view currentView which route could be like [root, view1, view3, currentView]
I ned to go from currentView to targetView in seamless way but keeping stack, so I don't want to view how it animates popping to view1and then pushing view2 and after that targetView.

Thanks in advance!

@Kitos-dev
Copy link
Author

Seems like no interest on this. Just popping and pushing on the same "thread cycle" works fine.

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

1 participant