Nested NavigationLinks are not working properly in latest 13.0 Beta (13A5155e). If you navigate to a nested NavLink, then return one level, NavigationLink Views turn gray if touched but do not go to the destination. See attached code.
struct ContentView: View {
var body: some View {
NavigationView {
List(1..<100) { row in
NavigationLink(destination: InnerListView()) {
Text("Row \(row)")
}
}
.navigationTitle("Outer List")
}
}
}
struct InnerListView: View {
var body: some View {
List(1..<100) { row in
NavigationLink(destination: Text("Details for row \(row)")) {
Text("Row \(row)")
}
.navigationTitle("Inner List")
}
}
}
struct ContentView_Previews: PreviewProvider {
static var previews: some View {
ContentView()
}
}
Selecting any option will automatically load the page