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
A clear and concise description of what the bug is.
I have a draggable element with axis: 'y'. After I navigate back using alt+left, the element is no longer draggable.
The issue is with KEYS_DELTA_MAP, it causes state.axis to be x, which causes state._blocked to be true. I think this puts use-gesture in an unexpected state, so no gestures on the element work. The only way to get it working again is to refresh the page or press the up/down keys.
As a temporary fix, I added keyboardDisplacement: 0.
Describe the bug
I have a draggable element with
axis: 'y'
. After I navigate back using alt+left, the element is no longer draggable.The issue is with
KEYS_DELTA_MAP
, it causesstate.axis
to bex
, which causesstate._blocked
to betrue
. I think this puts use-gesture in an unexpected state, so no gestures on the element work. The only way to get it working again is to refresh the page or press the up/down keys.As a temporary fix, I added
keyboardDisplacement: 0
.Information:
Checklist:
touch-action: none
to the draggable element.The text was updated successfully, but these errors were encountered: