diff --git a/projects/igniteui-angular/src/lib/grids/cell.component.ts b/projects/igniteui-angular/src/lib/grids/cell.component.ts index eaacd3064e5..2e4f11bc4de 100644 --- a/projects/igniteui-angular/src/lib/grids/cell.component.ts +++ b/projects/igniteui-angular/src/lib/grids/cell.component.ts @@ -1,4 +1,5 @@ -import { +import { useAnimation } from '@angular/animations'; +import { ChangeDetectionStrategy, ChangeDetectorRef, Component, @@ -52,6 +53,7 @@ import { IgxFocusDirective } from '../directives/focus/focus.directive'; import { IgxInputDirective } from '../directives/input/input.directive'; import { IgxInputGroupComponent } from '../input-group/input-group.component'; import { IgxChipComponent } from '../chips/chip.component'; +import { fadeOut, scaleInCenter } from 'igniteui-angular/animations'; /** * Providing reference to `IgxGridCellComponent`: @@ -883,7 +885,9 @@ export class IgxGridCellComponent implements OnInit, OnChanges, OnDestroy, CellT modal: false, positionStrategy: new AutoPositionStrategy({ horizontalStartPoint: HorizontalAlignment.Center, - horizontalDirection: HorizontalAlignment.Center + horizontalDirection: HorizontalAlignment.Center, + openAnimation: useAnimation(scaleInCenter, { params: { duration: '150ms' } }), + closeAnimation: useAnimation(fadeOut, { params: { duration: '75ms' } }) }) } );