Skip triggering long press for undesired events
Last updated 1 year ago
Was this helpful?
filterEvents
(event) => boolean
(event: LongPressReactEvents<Target>) => boolean
undefined
If provided, it gives you the ability to ignore long press detection on specified conditions (e.g. on right mouse click). When function returns false, it will prevent ANY callbacks from triggering (including and ) as well as .
false