DragGesture() used like: DragGesture(minimumDistance: 0) // conflicts with even button clicks DragGesture(minimumDistance: 10) // conflicts with swipe gestures and others (that is the default value) DragGesture(minimumDistance: 50) // is a neutral value for a drag
The gesture is ignored unless the touch moves by at least the specified minimumDistance in the DragGesture().
system waits for a larger movement, ensuring that minor touch gestures (like taps or short swipes) are handled by their respective handlers.