diff --git a/src/app/components/toast/toast.ts b/src/app/components/toast/toast.ts index baf144d1bbb..727c5988aa7 100755 --- a/src/app/components/toast/toast.ts +++ b/src/app/components/toast/toast.ts @@ -305,7 +305,7 @@ export class Toast implements OnInit,AfterContentInit,OnDestroy { onAnimationEnd(event: AnimationEvent) { if (event.toState === 'void') { - if (this.autoZIndex) { + if (this.autoZIndex && !this.messages.length ) { ZIndexUtils.clear(this.containerViewChild.nativeElement); } }