Minimal distance for a swipe instead of click


#1

I am facing recurrent issues when trying to click on an element on a tablet, but if the touch down and touch up is not done at the same position, then the click is not fired (my guess is that it is recognized as a swipe event and not a click event). I have tried using tap() instead but it does not change the behaviour.

Is there a way to configure this minimal distance or something similar, so that I can force a swipe event to be triggered only if the distance is greater than 20px for example?