Skip to content

Commit

Permalink
Fixed #8747 - Dialog.onShow should occur when the animation ends
Browse files Browse the repository at this point in the history
  • Loading branch information
yigitfindikli committed Nov 25, 2020
1 parent 39c28b7 commit f25924c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/app/components/dialog/dialog.ts
Original file line number Diff line number Diff line change
Expand Up @@ -656,7 +656,6 @@ export class Dialog implements AfterContentInit,OnDestroy {
case 'visible':
this.container = event.element;
this.wrapper = this.container.parentElement;
this.onShow.emit({});
this.appendContainer();
this.moveOnTop();
this.bindGlobalListeners();
Expand All @@ -682,6 +681,9 @@ export class Dialog implements AfterContentInit,OnDestroy {
this.onContainerDestroy();
this.onHide.emit({});
break;
case 'visible':
this.onShow.emit({});
break;
}
}

Expand Down

0 comments on commit f25924c

Please sign in to comment.