-
-
Notifications
You must be signed in to change notification settings - Fork 659
Error thrown when edge dragging #695
Copy link
Copy link
Closed
Labels
Milestone
Description
Environments
- Framework name: Any
- Framework version: -
- Moveable Component version: 0.30.0
- Testable Address(optional): https://codesandbox.io/s/focused-minsky-914jyi
Description
When having resizable: true, edge: true and edgeDraggable: true, an error is thrown when I try to resize / drag from the edge of the object. How should we handle such cases?
Stack trace:
gesto.esm.js:433 Uncaught TypeError: Cannot read properties of undefined (reading 'prevClients')
at __proto.move (gesto.esm.js:433:29)
at setCustomDrag (moveable.esm.js:399:28)
at Object.dragControl (moveable.esm.js:5471:38)
at eval (moveable.esm.js:8248:35)
at Array.filter ()
at triggerAble (moveable.esm.js:8241:28)
at Object.eval [as listener] (moveable.esm.js:8349:22)
at eval (event-emitter.esm.js:87:12)
at Array.forEach ()
at __proto.emit (event-emitter.esm.js:86:28)
at Gesto._this.onDrag (gesto.esm.js:302:34)
Thank you!
Reactions are currently unavailable