igniteui-angular 13.0.15 → 13.0.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -6074,8 +6074,8 @@ class IgxOverlayService {
|
|
|
6074
6074
|
}
|
|
6075
6075
|
this.updateSize(info);
|
|
6076
6076
|
info.settings.positionStrategy.position(info.elementRef.nativeElement.parentElement, { width: info.initialSize.width, height: info.initialSize.height }, document, true, info.settings.target);
|
|
6077
|
+
this.addModalClasses(info);
|
|
6077
6078
|
if (info.settings.positionStrategy.settings.openAnimation) {
|
|
6078
|
-
this.buildAnimationPlayers(info);
|
|
6079
6079
|
this.playOpenAnimation(info);
|
|
6080
6080
|
}
|
|
6081
6081
|
else {
|
|
@@ -6175,6 +6175,7 @@ class IgxOverlayService {
|
|
|
6175
6175
|
if (eventArgs.cancel) {
|
|
6176
6176
|
return;
|
|
6177
6177
|
}
|
|
6178
|
+
this.removeModalClasses(info);
|
|
6178
6179
|
if (info.settings.positionStrategy.settings.closeAnimation) {
|
|
6179
6180
|
this.playCloseAnimation(info, event);
|
|
6180
6181
|
}
|
|
@@ -6354,7 +6355,6 @@ class IgxOverlayService {
|
|
|
6354
6355
|
// to eliminate flickering show the element just before animation start
|
|
6355
6356
|
info.wrapperElement.style.visibility = '';
|
|
6356
6357
|
info.visible = true;
|
|
6357
|
-
this.addModalClasses(info);
|
|
6358
6358
|
info.openAnimationPlayer.play();
|
|
6359
6359
|
}
|
|
6360
6360
|
playCloseAnimation(info, event) {
|
|
@@ -6379,7 +6379,6 @@ class IgxOverlayService {
|
|
|
6379
6379
|
}
|
|
6380
6380
|
this.animationStarting.emit({ id: info.id, animationPlayer: info.closeAnimationPlayer, animationType: 'close' });
|
|
6381
6381
|
info.event = event;
|
|
6382
|
-
this.removeModalClasses(info);
|
|
6383
6382
|
info.closeAnimationPlayer.play();
|
|
6384
6383
|
}
|
|
6385
6384
|
// TODO: check if applyAnimationParams will work with complex animations
|