diff --git a/modules/react-arborist/src/controllers/tree-controller.ts b/modules/react-arborist/src/controllers/tree-controller.ts index 0bfcd57..9357fb0 100644 --- a/modules/react-arborist/src/controllers/tree-controller.ts +++ b/modules/react-arborist/src/controllers/tree-controller.ts @@ -311,6 +311,7 @@ export class TreeController { targetParentId: dnd.targetParentId, targetIndex: dnd.targetIndex || 0, }); + if (dnd.targetParentId) this.open(dnd.targetParentId); } dragEnd() {