divadretlaw / CustomAlert

🔔 Custom Alert for SwiftUI
MIT License
195 stars 18 forks source link

simultaneousGesture will disable button action #11

Closed SouHanaQiao closed 1 year ago

SouHanaQiao commented 1 year ago

.simultaneousGesture(TapGesture().onEnded { _ in guard isEnabled else { return } isPresented = false }) this will disable button action

divadretlaw commented 1 year ago

Thank you for reporting this issue. I have found the cause and it should be fixed in 3.0.3