Set navigationViewStyle to StackNavigationViewStyle

NavigationView {
    TheTabView()
}
.navigationViewStyle(StackNavigationViewStyle())