react-draggable
react-draggable copied to clipboard
Does positionOffset retrigger?
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