I want my button to fire when the finger touches the button, not when the finger leaves the button.
A common answer I see on StackOverflow is to use a DragGesture and set minimumDistance to 0. This does trigger the button when the finger touches the button. However, when the finger is pressed down, if I move my finger even just a little bit, the button would get triggered again, which not something that I want. I want the button to fire only when the finger first touches the button, but not when the finger drags the button.
How can I achieve this touch down behavior in SwiftUI?
Thanks in advance.