I'm seeing some unexpected behavior when pushing a view using NavigationLink. It seems the source view momentarily disappears, the reappears when pushing the destination view, finally disappearing for good after the transition has completed. You can notice the following output if you use the code below it in a brand new iOS project (from the default Xcode template), run it, and tap on the navigation link. Is this expected behavior? Source appear Source disappear Source appear Destination appear Source disappear struct ContentView: View { tvar body: some View { ttNavigationView { tttVStack { ttttText(Hello, world!).padding() ttttt.onAppear { ttttttprint(Source appear) ttttt} ttttt.onDisappear { ttttttprint(Source disappear) ttttt} ttttNavigationLink( tttttdestination: DestinationView(), tttttlabel: { ttttttText(Navigate) ttttt}) ttt} tt} t} } struct DestinationView: View { tvar body: some View { ttText(Destination View) ttt.onAppear { ttttprint(Destination appear) t
0
0
1k