SWIFTUI for IOS16 Navigation link stopped working when added ".onTapGesture", how to fix?

I’m using SWIFTUI for IOS16 development. I have a view with a navigation link that used to work great, but now that I have added an onTapGesture, stopped working. This is my code: import SwiftUI import AVKit struct SpecialVideo6: View { let videoURL = Bundle.main.url(forResource: "war", withExtension: "mp4")! @Binding var path: NavigationPath var player: AVPlayer… Read More SWIFTUI for IOS16 Navigation link stopped working when added ".onTapGesture", how to fix?

Why is Text onTapGesture not working for widened frame in SwiftUI?

I have this testing file that is not working how I expect it to. import SwiftUI struct SwiftUIView: View { @State var boolTest = false var nums = ["1","2","3","4","5","6","7"] var body: some View { VStack { ForEach(nums, id: \.self) { num in Text("\(num)") .frame(width: 400) .font(.system(size: 70)) .foregroundColor(boolTest ? .red : .green) .onTapGesture { boolTest.toggle()… Read More Why is Text onTapGesture not working for widened frame in SwiftUI?