fix(nodes): draggable when toggle hidden prop closes #2205

This commit is contained in:
moklick
2022-06-07 23:11:32 +02:00
parent 85b9408c79
commit 0724936be4
2 changed files with 19 additions and 8 deletions
+1 -1
View File
@@ -104,7 +104,7 @@ export default (NodeComponent: ComponentType<NodeProps>) => {
onDrag: onDrag,
onStop: onDragStop,
nodeRef,
disabled: !isDraggable,
disabled: hidden || !isDraggable,
noDragClassName,
handleSelector: dragHandle,
nodeId: id,