DoubleColumnNavigationViewStyle has been working fine for me until I noticed yesterday that NavigationLinks are pretty broken. Clicking the first link always works but subsequent ones are 50/50 at best. I see this behavior on both the iPad simulator and Mac Catalyst.Has anyone experienced this, able to reproduce it, or point out what I'm doing wrong? Sample code is below. Click on "abc" which will work and then it won't take long to cycle through the other ones before finding one that doesn't work.Another wrinkle is if you replace MasterView's VStack with a List then it works perfectly. import SwiftUI
struct ContentView: View {
var body: some View {
NavigationView {
MasterView()
DetailView(t: "initial detail view")
}
.navigationViewStyle(DoubleColumnNavigationViewStyle()).padding(1)
}
}
struct MasterView: View
{
var body: some View {
VStack
{
NavigationLink(destination: DetailView(t: "abc"))
{
Text("abc")
}
NavigationLink(destination: DetailView(t: "def"))
{
Text("def")
}
NavigationLink(destination: DetailView(t: "ghi"))
{
Text("ghi")
}
NavigationLink(destination: DetailView(t: "jkl"))
{
Text("jkl")
}
}
}
}
struct DetailView: View
{
var t: String
var body: some View {
VStack {
Text(t)
}
}
}