I'm having the same issue but with buttons too. It's so annoying. Some elements are clickable and some not. If I change onTapGesture
with highPriorityGesture
as you suggested -> it works but then subviews of the view are not clickable at all. So that's not a solution I guess.
In my case, buttons have the same problem. Some of them are clickable and some not (in the list). Long press works, button action is triggered always like that, but single press is still the issue.
My colleague has the same code with old Xcode 15.4 and Swift 5. After compiling from his computer everything works fine even on iOS 18.2 versions of iPhone. Buttons and onTapGestures work just fine.
You can check my question too.