Skip to content

Commit 9f50b53

Browse files
committed
fix(esf): hide the whole component instead of the article #7133
1 parent 03030ba commit 9f50b53

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

projects/igniteui-angular/src/lib/grids/filtering/excel-style/grid.excel-style-filtering.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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);

0 commit comments

Comments
 (0)