I have a segmented picker to filter the list rows inside a ForEach but the NavigationLinks stop working when filtering, they have the tap animation but never change view. I am using CoreData for the deck. When I tap the rows in Standard they work normally, then I tap Wild and the NavigationLinks still work but then when I go back to standard this is what happens:
This is the code I have:
ForEach(decks.filter{$0.format == formats[selectedFormat]}, id: \.self) { deck in
HStack {
ZStack {
DeckRow(deck: deck)
NavigationLink(destination: DeckView()) {
EmptyView()
}
}
}
}
