Cancel on movement
If long press should be cancelled when moved outside boundaries
Last updated
Was this helpful?
If long press should be cancelled when moved outside boundaries
Last updated
Was this helpful?
cancelOnMovement
boolean | number
false
If long press should be canceled when mouse / touch / pointer move far enough from the initial press position.
Possible values:
false
- Disable cancelling on movement
true
- Enable cancelling on movement and use default 25px boundary size
number
- Set a specific boundary value in pixels (square side size inside which movement won't cancel long press)