Merge pull request #2184 from bcakmakoglu/patch-1
fix(drag): set `dragging` to false on drag end
This commit is contained in:
@@ -118,6 +118,7 @@ function useDrag({
|
|||||||
}
|
}
|
||||||
|
|
||||||
event.on('end', (event) => {
|
event.on('end', (event) => {
|
||||||
|
setDragging(false)
|
||||||
if (dragItems.current) {
|
if (dragItems.current) {
|
||||||
updateNodePositions(dragItems.current, false, false);
|
updateNodePositions(dragItems.current, false, false);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user