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
Normally offset in state is {x:number, y:number}. However, after I dragged the canvas. the offset will set to be like
offset:{
deltaX: -1
deltaY: 0
lastX: 32
lastY: -78
node: div.sc-bdVaJa.doHFhw.react-draggable.react-draggable-dragged
x: 31
y: -7
}
is this expected? I thought offset will stay like {x:number, y:number}
The text was updated successfully, but these errors were encountered:
Normally offset in state is {x:number, y:number}. However, after I dragged the canvas. the offset will set to be like
offset:{
deltaX: -1
deltaY: 0
lastX: 32
lastY: -78
node: div.sc-bdVaJa.doHFhw.react-draggable.react-draggable-dragged
x: 31
y: -7
}
is this expected? I thought offset will stay like {x:number, y:number}
The text was updated successfully, but these errors were encountered: