TabView resets navigation stack when switching tabs : <p>I have a simple TabView: </p>

<pre class="lang-swift prettyprint-override"><code>TabView {
    NavigationView {
        VStack {
            NavigationLink(destination: Text("Detail")) {
                Text("Go to detail")
            }
        }
    }
        .tabItem { Text("First") }
        .tag(0)
    Text("Second View")
        .tabItem { Text("Second") }
        .tag(1)
}
</code></pre>

<p>When I go to the detail view on tab 1, switch to tab 2 then switch back to tab 1 I would assume to go back to the detail view (a basic UX found everywhere in iOS). Instead it resets to the root view of tab 1.</p>

<p>Since SwiftUI doesn't look to support this out of the box, how do I work around this?</p>
