I encountered this problem with my NavigationStack when using both NavigationLink with values and without. The navigationStack had to be all NavigationLinks with values or without, I could not mix the two.
NavigationLink(destination: ItemDetail(item: equipItem)) {
Text("\(equipItem.name)")
}
NavigationLink with no value
NavigationLink(equipItem.name, value: equipItem)
.navigationTitle(categoryName)
//
code ....
//
.navigationDestination(for: equipment.self, destination: { equipItem in
ItemDetail(item: equipItem)
NavigationLink with a value
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: