fix(drag): set dragging to false on drag end
# What's changed? * Set `dragging` to `false` on drag end event # Fixes * #2183
This commit is contained in:
@@ -118,6 +118,7 @@ function useDrag({
|
||||
}
|
||||
|
||||
event.on('end', (event) => {
|
||||
setDragging(false)
|
||||
if (dragItems.current) {
|
||||
updateNodePositions(dragItems.current, false, false);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user