Open jayarjo opened 3 years ago
any news ?
@jayarjo @carlosjpr-collab , I have got this working fine dragging objects around inside of a canvas. I use the dom element cavas as my selector for both the target and source, then use the x and y position options to tell it where to drag from and too. I have a function that gets a shape's x and y from the shape ref and stage. I hope this helps y'all.
What about dragging a non-DOM element, for example a dot drawn on the canvas? Same events, mousedown at a particular point, mousemove, mouseup, however no DOM element.