react-draggable icon indicating copy to clipboard operation
react-draggable copied to clipboard

Does positionOffset retrigger?

Open swordsreversed opened this issue 3 years ago • 0 comments
trafficstars

In this simple example i'm trying to randomly position David, then set state when he is moved, but the draggable jumps. Is positionOffset retriggering and is it mean to do that? If so, how do I set an initial position that doesn't retrigger/move?

https://codesandbox.io/s/drag-david-qht9d?file=/src/App.js

swordsreversed avatar Feb 05 '22 03:02 swordsreversed