Open artalejo opened 4 years ago
I solved it navigating programmatically, check this: https://stackoverflow.com/questions/57315409
And I also used .onTapGesture to execute the navigation:
QGrid(Storage.people, columns: 3) { person in
GridCell(person: person).onTapGesture {
self.viewModel.personTapped(person)
}
}
Here is a very useful post about navigation: https://medium.com/better-programming/swiftui-navigation-links-and-the-common-pitfalls-faced-505cbfd8029b
Hello,
I am wondering if is there any solution for navigating to different items inside the QGrid. When clicking in an item it processes all the items click actions and navigates to all the links one after the other.