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
fix(module:cascader): fix the problem of disappearing drop-down menu
  • Loading branch information
simplejason committed Apr 26, 2022
1 parent 21ec517 commit 6830a5b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion components/cascader/cascader.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ const defaultDisplayRender = (labels: string[]): string => labels.join(' / ');
exportAs: 'nzCascader',
preserveWhitespaces: false,
template: `
<div cdkOverlayOrigin #origin="cdkOverlayOrigin" #trigger>
<div cdkOverlayOrigin #origin="cdkOverlayOrigin" #trigger class="container">
<ng-container *ngIf="nzShowInput">
<div #selectContainer class="ant-select-selector">
<span class="ant-select-selection-search">
Expand Down Expand Up @@ -130,6 +130,7 @@ const defaultDisplayRender = (labels: string[]): string => labels.join(' / ');
[@slideMotion]="'enter'"
[@.disabled]="noAnimation?.nzNoAnimation"
[nzNoAnimation]="noAnimation?.nzNoAnimation"
(mouseenter)="onTriggerMouseEnter()"
(mouseleave)="onTriggerMouseLeave($event)"
>
<div
Expand Down

0 comments on commit 6830a5b

Please sign in to comment.