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 @@ -334,7 +334,7 @@ export class IgxGridExcelStyleFilteringComponent implements OnDestroy {
334334 }
335335 }
336336
337- constructor ( private cdr : ChangeDetectorRef ) { }
337+ constructor ( private cdr : ChangeDetectorRef , private element : ElementRef ) { }
338338
339339 /**
340340 * @hidden @internal
@@ -477,7 +477,7 @@ export class IgxGridExcelStyleFilteringComponent implements OnDestroy {
477477 this . customDialog . selectedOperator = eventArgs . newSelection . value ;
478478 eventArgs . cancel = true ;
479479 if ( this . overlayComponentId ) {
480- this . mainDropdown . nativeElement . style . display = 'none' ;
480+ this . element . nativeElement . style . display = 'none' ;
481481 }
482482 this . subMenu . close ( ) ;
483483 this . customDialog . open ( this . mainDropdown . nativeElement ) ;
You can’t perform that action at this time.
0 commit comments