Skip to content

Commit

Permalink
Ensure TreeView drag handle is initially hidden
Browse files Browse the repository at this point in the history
  • Loading branch information
willeastcott committed Oct 23, 2024
1 parent 1d22608 commit 813ee74
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/TreeView/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,8 @@ class TreeView extends Container {
this._allowReordering = args.allowReordering ?? true;
this._allowRenaming = args.allowRenaming ?? false;
this._dragHandle = new Element({
class: CLASS_DRAGGED_HANDLE
class: CLASS_DRAGGED_HANDLE,
hidden: true
});
this._dragScrollElement = args.dragScrollElement || this;
this.append(this._dragHandle);
Expand Down

0 comments on commit 813ee74

Please sign in to comment.