Skip to content

Error thrown when edge dragging #695

@alexconstantin

Description

@alexconstantin

Environments

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingcomplete

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions