Perhaps this is a bit beyond the scope of this project, but I still want to ask if there's a way to implement it?
My expectation is to overlay other views (such as a custom toolbar) on a NavigationStack, and the content of the toolbar should switch synchronously with the NavigationStack. The difficulty lies in synchronizing the toolbar's animation with the NavigationStack's transition animation, so that a better experience can be achieved when performing a gesture return.
Perhaps providing a ViewModifier similar to:
.withNavigationTransition { percentComplete in
...
}
Anyway, this is an amazing project, thank you very much for your work!