File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
projects/igniteui-angular/src/lib/grids/filtering Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,8 @@ import {
1010 ElementRef ,
1111 HostBinding ,
1212 HostListener ,
13- ChangeDetectionStrategy
13+ ChangeDetectionStrategy ,
14+ ViewRef
1415} from '@angular/core' ;
1516import { DataType } from '../../data-operations/data-util' ;
1617import { IgxColumnComponent } from '../column.component' ;
@@ -653,7 +654,8 @@ export class IgxGridFilteringRowComponent implements AfterViewInit {
653654 this . showArrows = this . chipsAreaWidth >= containerWidth && this . isColumnFiltered ;
654655
655656 // TODO: revise the cdr.detectChanges() usage here
656- this . cdr . detectChanges ( ) ;
657+ if ( ! ( this . cdr as ViewRef ) . destroyed ) {
658+ this . cdr . detectChanges ( ) ; }
657659 }
658660 } ) ;
659661 }
You can’t perform that action at this time.
0 commit comments