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 {
745745 wrapperElement . style . transitionDuration = '0ms' ;
746746 return ;
747747 }
748- if ( animationOptions . type === AnimationMetadataType . AnimateRef ) {
749- animationOptions = ( animationOptions as AnimationAnimateRefMetadata ) . animation ;
750- }
751748 if ( ! animationOptions . options || ! animationOptions . options . params ) {
752749 return ;
753750 }
@@ -893,6 +890,7 @@ export class IgxOverlayService implements OnDestroy {
893890 private removeModalClasses ( info : OverlayInfo ) {
894891 if ( info . settings . modal ) {
895892 const wrapperElement = info . elementRef . nativeElement . parentElement . parentElement ;
893+ this . applyAnimationParams ( wrapperElement , info . settings . positionStrategy . settings . closeAnimation ) ;
896894 wrapperElement . classList . remove ( 'igx-overlay__wrapper--modal' ) ;
897895 wrapperElement . classList . add ( 'igx-overlay__wrapper' ) ;
898896 }
You can’t perform that action at this time.
0 commit comments