-
Notifications
You must be signed in to change notification settings - Fork 68
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
[iOS 14] View pops back if Router is inside of other #49
Comments
Hey! Got the same issue. It'd be nice to fix that. |
Thanks @rigamikhail27 for raising this issue and for the clear reproduction. I see the same issue on iOS 14, and you are using the library as intended, so this is definitely something to be fixed. I've done a little investigation but so far I haven't developed any insight, but will keep you posted. |
@johnpatrickmorgan any idea?) |
Hi @rigamikhail27, sorry I haven't had any breakthrough. I checked older I'm considering a significant rewrite of the library to bring the API more in line with the new navigation APIs in iOS 16 (point 2 here). I believe that would allow a more robust approach to nesting coordinators. Sorry I can't offer a better solution. |
Got it, thanks! Current implementation is useful, so I will better up min support version to 15🙂 |
Follow-up: here's an early peek at the possible rewrite: #51 |
Hi everybody and thanks a lot @johnpatrickmorgan for this job!
I was looking chance to organise my app code with MVVMc + SwiftUI and draw a conclusion, that FlowStacks is a best solution!
Here is a code example with weird behaviour when put one Router inside other leads to popping instead of pushing and only on iOS <= 14.5. (routes.push(.second) -> pops back to .root(.main) in CoordinatingViewB)
Of course, I may use it incorrectly, that's why need your experience and waiting for it)
Thanks!
The text was updated successfully, but these errors were encountered: