Skip to content

Commit 813a1f5

Browse files
committed
fix(esf): hide the whole component instead of the article #7133
1 parent f420056 commit 813a1f5

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
@@ -348,7 +348,7 @@ export class IgxGridExcelStyleFilteringComponent implements OnDestroy {
348348
}
349349
}
350350

351-
constructor(private cdr: ChangeDetectorRef) {}
351+
constructor(private cdr: ChangeDetectorRef, private element: ElementRef) {}
352352

353353
/**
354354
* @hidden @internal
@@ -517,7 +517,7 @@ export class IgxGridExcelStyleFilteringComponent implements OnDestroy {
517517
this.customDialog.selectedOperator = eventArgs.newSelection.value;
518518
eventArgs.cancel = true;
519519
if (this.overlayComponentId) {
520-
this.mainDropdown.nativeElement.style.display = 'none';
520+
this.element.nativeElement.style.display = 'none';
521521
}
522522
this.subMenu.close();
523523
this.customDialog.open(this.mainDropdown.nativeElement);

0 commit comments

Comments
 (0)