Sometimes, users indeed tap, but state.tap is still false. It cancels other click events because of event.stopPropagation(). I have traced the source code, but it seemed no problem.
Could you provide an option pointer.mouse like pointer.touch, or to disable pointer events? If we find pointer events have some problems (maybe it related to browser implementations), we can choose not to use it.
Describe the bug
It related to
filterTaps
, but it's hard to reproduce.https://github.com/pmndrs/use-gesture/blob/2d943428cc1242f773248ebe85760513bd136c52/packages/core/src/engines/DragEngine.ts#L230-L235
Sometimes, users indeed tap, but
state.tap
is stillfalse
. It cancels other click events because ofevent.stopPropagation()
. I have traced the source code, but it seemed no problem.Could you provide an option
pointer.mouse
likepointer.touch
, or to disable pointer events? If we find pointer events have some problems (maybe it related to browser implementations), we can choose not to use it.Information:
Checklist:
touch-action: none
to the draggable element.