SheeKit icon indicating copy to clipboard operation
SheeKit copied to clipboard

Support for embedded NavigationStack

Open genkernel opened this issue 7 months ago • 0 comments

Thanks for the SheeKit. I started using it due to memory related issues with native .sheet() implementation (https://stackoverflow.com/questions/77153299/swiftui-view-leaks-in-ios-17#comment136053128_77153299).

I noticed SheeKit does not play well with NavigationStack embedded inside of a presented view. I can confirm that .sheet() (iOS 17.5) does handle it correctly while SheeKit immediately hides view after the vivew was briefly presented.

App's architecture looks like this: NavigationStack: (ViewA ---(push)---> ViewB ----> ...) .....................................................................| .....................................................................| ................................................................sheet( NavigationStack: (ViewC ---(push)---> ViewD ----> ...) )

genkernel avatar Jul 20 '24 21:07 genkernel