Skip to content

Commit

Permalink
fix(module:tree): stop change url in firefox (#6771)
Browse files Browse the repository at this point in the history
  • Loading branch information
stygian-desolator committed Jun 15, 2021
1 parent 466a093 commit be20114
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions components/tree/tree-node.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -321,6 +321,8 @@ export class NzTreeNodeBuiltinComponent implements OnInit, OnChanges, OnDestroy
}

handleDragDrop(e: DragEvent): void {
e.preventDefault();
e.stopPropagation();
this.ngZone.run(() => {
this.showIndicator = false;
this.clearDragClass();
Expand Down

0 comments on commit be20114

Please sign in to comment.