fix(elementsSelectable): still draggable if not selectable

This commit is contained in:
moklick
2022-05-19 12:49:35 +02:00
parent 0d3439903c
commit 94321613f2
5 changed files with 10 additions and 13 deletions
+1 -1
View File
@@ -101,7 +101,7 @@ function useDrag({
}
const mousePos = getMousePosition(event);
dragItems.current = getDragItems(nodeInternals, mousePos);
dragItems.current = getDragItems(nodeInternals, mousePos, nodeId);
if (onStart && dragItems.current) {
const [currentNode, nodes] = getEventHandlerParams({