diff --git a/components/lib/tree/UITreeNode.js b/components/lib/tree/UITreeNode.js index 8f655e23f4..fd1b00d85a 100644 --- a/components/lib/tree/UITreeNode.js +++ b/components/lib/tree/UITreeNode.js @@ -977,7 +977,7 @@ export const UITreeNode = React.memo((props) => { const node = createNode(); - if (props.dragdropScope && !props.disabled && props.node.droppable) { + if (props.dragdropScope && !props.disabled && (!props.parent || props.parent.droppable)) { const beforeDropPoint = createDropPoint(-1); const afterDropPoint = props.last ? createDropPoint(1) : null;