You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When working with the usePinch hook, the value of ctrlKey, event.ctrlKey are both true when the hook's callback is called. The expected behavior is that these values are only true when I am physically holding down the ctrlKey. My intended use is to filter out the wheel plus control gesture.
Additionally, I tried using down, and buttons. But these always seem to be false and 0 respectively.
From the following issues, my understanding is that this has to do with how Chromium handles pinch events on a Mac.
Describe the bug
When working with the
usePinch
hook, the value ofctrlKey
,event.ctrlKey
are bothtrue
when the hook's callback is called. The expected behavior is that these values are only true when I am physically holding down thectrlKey
. My intended use is to filter out the wheel plus control gesture.Additionally, I tried using
down
, andbuttons
. But these always seem to befalse
and0
respectively.From the following issues, my understanding is that this has to do with how Chromium handles pinch events on a Mac.
#401
#80
Sandbox or Video
https://codesandbox.io/p/sandbox/chntrj
Information:
10.3.1
Checklist:
touch-action: none
to the draggable element.Thanks in advance for any help!!
The text was updated successfully, but these errors were encountered: