Merge pull request #2184 from bcakmakoglu/patch-1

fix(drag): set `dragging` to false on drag end
This commit is contained in:
Moritz Klack
2022-05-28 16:30:26 +02:00
committed by GitHub

View File

@@ -118,6 +118,7 @@ function useDrag({
}
event.on('end', (event) => {
setDragging(false)
if (dragItems.current) {
updateNodePositions(dragItems.current, false, false);