Closed PhilipDukhov closed 10 months ago
Hmm, seems like a SwiftUI edge case that perhaps .sheet explicitly accounts for. I'll have to investigate if I can add similar edge case handling.
Ok I think I can provide a workaround! I have a prototype I just need to test more.
Ok I think I can provide a workaround! I have a prototype I just need to test more.
Wow, great news 🎉
Fixed in 1.0.0
When I push item into
childNavigationPath
, somehow it gets pushed to the rootNavigationStack
instead of the sheet one.It's probably related to the fact that nested
NavigationStack
s doesn't work in general, but somehow systemsheet
modifier handles it.Steps to reproduce:
Expected behavior: new view pushed inside the sheet Actual behavior: looks like nothing happens, but when sheet is closed there's the pushed screen