Skip to content

Commit

Permalink
fix(module:cascader): fix the problem of disappearing drop-down menu
Browse files Browse the repository at this point in the history
  • Loading branch information
simplejason committed Apr 24, 2022
1 parent 21ec517 commit 174895e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion components/cascader/cascader.component.ts
Expand Up @@ -556,7 +556,6 @@ export class NzCascaderComponent implements NzCascaderComponentAsSource, OnInit,
this.delaySetMenuVisible(true, this.nzMouseEnterDelay, true);
}

@HostListener('mouseleave', ['$event'])
onTriggerMouseLeave(event: MouseEvent): void {
if (this.nzDisabled || !this.menuVisible || this.isOpening || !this.isActionTrigger('hover')) {
event.preventDefault();
Expand Down

0 comments on commit 174895e

Please sign in to comment.