Lazy-Pop-SwiftUI
Lazy-Pop-SwiftUI copied to clipboard
Broken in iOS 16.2
With NavigationStack, once you navigate to a view, swipe back, the navigationlink no longer works. You can only use the link once and then it does not work. Same result for .navigationDestination
I observed this as well.
Doing my part in pointing others to getting this functionality working with navigation stacks.
This youtube video does exactly what is desired: https://youtu.be/4ceKPSTlL4I?si=sKpfhJU7jod_Be8e
Here is my implementation of it: https://github.com/ejbills/OpenArtemis/blob/main/OpenArtemis/Utilities/Navigation/NavigationStackWrapper.swift
Hope this helps others.
@ejbills This is great! Should we update LazyPop to use your solution?
@joehinkle11 I think that would be great! I could submit a PR in a bit, or were you wanting to do it?