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 @@ -350,7 +350,7 @@ export class IgxGridExcelStyleFilteringComponent implements OnDestroy {
350350 }
351351 }
352352
353- constructor ( private cdr : ChangeDetectorRef ) { }
353+ constructor ( private cdr : ChangeDetectorRef , private element : ElementRef ) { }
354354
355355 /**
356356 * @hidden @internal
@@ -519,7 +519,7 @@ export class IgxGridExcelStyleFilteringComponent implements OnDestroy {
519519 this . customDialog . selectedOperator = eventArgs . newSelection . value ;
520520 eventArgs . cancel = true ;
521521 if ( this . overlayComponentId ) {
522- this . mainDropdown . nativeElement . style . display = 'none' ;
522+ this . element . nativeElement . style . display = 'none' ;
523523 }
524524 this . subMenu . close ( ) ;
525525 this . customDialog . open ( this . mainDropdown . nativeElement ) ;
You can’t perform that action at this time.
0 commit comments