Skip to content

Commit

Permalink
fix(overlay): move addModalClasses to show method #9882
Browse files Browse the repository at this point in the history
  • Loading branch information
PlamenaMiteva committed Oct 4, 2021
1 parent 2709c3d commit 081af5f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,6 @@ export class IgxOverlayService implements OnDestroy {
this.addOutsideClickListener(info);
this.addResizeHandler();
this.addCloseOnEscapeListener(info);
this.addModalClasses(info);
this.buildAnimationPlayers(info);
return info.id;
}
Expand Down Expand Up @@ -412,6 +411,7 @@ export class IgxOverlayService implements OnDestroy {
document,
true,
info.settings.target);
this.addModalClasses(info);
if (info.settings.positionStrategy.settings.openAnimation) {
this.buildAnimationPlayers(info);
this.playOpenAnimation(info);
Expand Down

0 comments on commit 081af5f

Please sign in to comment.