SwiftUI NavigationLink not triggering action when using custom view as label on iOS 17
I'm upgrading from an older version and After trying multiple solutions online, I still can't figure this out. I've been banging my head against this for hours. I'm having trouble with a `NavigationLink` in my SwiftUI app. I'm trying to create a custom label for the link using a `HStack`, but the link doesn't seem to respond to taps. My `NavigationLink` is inside a `List`, and I need to figure out why the action isn't being triggered. Here's a simplified version of my code: ```swift struct ContentView: View { var body: some View { NavigationView { List { ForEach(0..<5) { index in NavigationLink(destination: DetailView(index: index)) { HStack { Image(systemName: "star.fill") .foregroundColor(.yellow) Text("Item \(index)") } .padding() .background(Color.blue.opacity(0.1)) .cornerRadius(8) } } } .navigationTitle("Items") } } } struct DetailView: View { var index: Int var body: some View { Text("Detail for item \(index)") .font(.largeTitle) .navigationTitle("Detail") } } ``` When I tap on the custom label, nothing happens. I've tried different configurations of `padding` and `background`, but the scenario continues. The tap area seems correctly set up, as I can interact with the `HStack` directly if I replace it with just a `Text` view. Is there something specific I need to do when using a custom view as a label in a `NavigationLink`? Any insights would be appreciated! I'm working on a application that needs to handle this. How would you solve this? I've been using Swift for about a year now. Could this be a known issue? This is for a REST API running on Windows 10. Could this be a known issue?