File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
projects/igniteui-angular/src/lib/services/overlay Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -745,9 +745,6 @@ export class IgxOverlayService implements OnDestroy {
745
745
wrapperElement . style . transitionDuration = '0ms' ;
746
746
return ;
747
747
}
748
- if ( animationOptions . type === AnimationMetadataType . AnimateRef ) {
749
- animationOptions = ( animationOptions as AnimationAnimateRefMetadata ) . animation ;
750
- }
751
748
if ( ! animationOptions . options || ! animationOptions . options . params ) {
752
749
return ;
753
750
}
@@ -893,6 +890,7 @@ export class IgxOverlayService implements OnDestroy {
893
890
private removeModalClasses ( info : OverlayInfo ) {
894
891
if ( info . settings . modal ) {
895
892
const wrapperElement = info . elementRef . nativeElement . parentElement . parentElement ;
893
+ this . applyAnimationParams ( wrapperElement , info . settings . positionStrategy . settings . closeAnimation ) ;
896
894
wrapperElement . classList . remove ( 'igx-overlay__wrapper--modal' ) ;
897
895
wrapperElement . classList . add ( 'igx-overlay__wrapper' ) ;
898
896
}
You can’t perform that action at this time.
0 commit comments