We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I added a Navigation link on the item in order to push a new view but by adding the navigation link (or a button) the swiping don't work anymore.
Any solution to have the item swipe and the navigation link on the item?
The text was updated successfully, but these errors were encountered:
I had the same issue.
I made this to solve it :
@State var activeMagazineID: Int? = nil NavigationView{ ACarousel(digitalMagazines) { magazine in VStack{ URLImage(magazine.thumbnail){ image in image.resizable() .aspectRatio(contentMode: .fit) }.cornerRadius(10) Text(magazine.title) .foregroundColor(.secondary) .font(.subheadline) } .background(NavigationLink( destination: MagazineView(magazine: magazine), tag: magazine.id, selection: $activeMagazineID){ EmptyView() }) .onTapGesture { activeMagazineID = magazine.id } } }
Sorry, something went wrong.
No branches or pull requests
I added a Navigation link on the item in order to push a new view but by adding the navigation link (or a button) the swiping don't work anymore.
Any solution to have the item swipe and the navigation link on the item?
The text was updated successfully, but these errors were encountered: