File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
projects/igniteui-angular/src/lib/grids/filtering/excel-style Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -336,7 +336,7 @@ export class IgxGridExcelStyleFilteringComponent implements OnDestroy {
336336 }
337337 }
338338
339- constructor ( private cdr : ChangeDetectorRef ) { }
339+ constructor ( private cdr : ChangeDetectorRef , private element : ElementRef ) { }
340340
341341 /**
342342 * @hidden @internal
@@ -479,7 +479,7 @@ export class IgxGridExcelStyleFilteringComponent implements OnDestroy {
479479 this . customDialog . selectedOperator = eventArgs . newSelection . value ;
480480 eventArgs . cancel = true ;
481481 if ( this . overlayComponentId ) {
482- this . mainDropdown . nativeElement . style . display = 'none' ;
482+ this . element . nativeElement . style . display = 'none' ;
483483 }
484484 this . subMenu . close ( ) ;
485485 this . customDialog . open ( this . mainDropdown . nativeElement ) ;
You can’t perform that action at this time.
0 commit comments