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