Skip to content

Commit

Permalink
Open folder after dropping
Browse files Browse the repository at this point in the history
  • Loading branch information
jameskerr committed Apr 4, 2024
1 parent 7a10e29 commit 2d4b3c4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/react-arborist/src/controllers/tree-controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 +311,7 @@ export class TreeController<T> {
targetParentId: dnd.targetParentId,
targetIndex: dnd.targetIndex || 0,
});
if (dnd.targetParentId) this.open(dnd.targetParentId);
}

dragEnd() {
Expand Down

0 comments on commit 2d4b3c4

Please sign in to comment.