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 you drag an element with the v-drag attribute everything works fine until the cursor (not the element) touches the left side or top side of the document. When that happens, the following exception is raised:
When the cursor is touching the top (or beyond it), dragging does continue to work, but when the cursor is touching the left side, the position of the element stops updating until the cursor moves back into the document.
I would guess that the fault lies within these lines:
The text was updated successfully, but these errors were encountered:
OvervCW
changed the title
Exception when cursor touches top or left of document while dragging
Exception when cursor goes beyond top or left of document while dragging
Apr 12, 2023
When you drag an element with the
v-drag
attribute everything works fine until the cursor (not the element) touches the left side or top side of the document. When that happens, the following exception is raised:When the cursor is touching the top (or beyond it), dragging does continue to work, but when the cursor is touching the left side, the position of the element stops updating until the cursor moves back into the document.
I would guess that the fault lies within these lines:
v-drag/src/utils/updateMousePosition.js
Lines 4 to 6 in 92d52d0
Where
e.touches
is undefined.The text was updated successfully, but these errors were encountered: