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
The problem is if the user clicks/taps the draggable object, it wrongly report as if it was moved to position 0,0, while infact it was left at its initial position.
My options
dragOptions: function(){return{position: {x: 7,y: 0},onDragStart: this.dragStartEventHandler,onDragEnd: this.dragStopEventHandler,defaultClassDragging: "dragging",ignoreMultitouch: true// Should default to false, but the library has a bug https://github.com/PuruVJ/neodrag/issues/144}},
My stop handler
dragStopEventHandler: asyncfunction(event){console.log(event.currentNode.style.transform)// = translate3d(7px, 0px, 0px)console.log(event.offsetX,event.offsetY)// = 0,0// I would expect it to be 7,0},
Extra info
I also have a delegated click handler attached to a child of the draggable, this click event fire after the dragStop
Using
"@neodrag/vue": "2.0.4"
"@pnotify/core": "5.2.0"
The text was updated successfully, but these errors were encountered:
The problem is if the user clicks/taps the draggable object, it wrongly report as if it was moved to position 0,0, while infact it was left at its initial position.
My options
My stop handler
Extra info
Using
The text was updated successfully, but these errors were encountered: