Skip to content

Commit 9874a87

Browse files
authored
Merge pull request #11407 from IgniteUI/sstoychev/esf-custom-filter-master
fix(esf): assigning the correct overlay id for custom dialog #11404
2 parents ae77759 + 2b92336 commit 9874a87

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@ export class IgxExcelStyleCustomDialogComponent implements AfterViewInit {
130130
this.grid.rootGrid ? this.grid.rootGrid.nativeElement : this.grid.nativeElement :
131131
esf;
132132
this.toggle.open(this._customDialogOverlaySettings);
133+
this.overlayComponentId = this.toggle.overlayId;
133134
}
134135

135136
public onClearButtonClick() {
@@ -141,6 +142,7 @@ export class IgxExcelStyleCustomDialogComponent implements AfterViewInit {
141142
public closeDialog() {
142143
if (this.overlayComponentId) {
143144
this.overlayService.hide(this.overlayComponentId);
145+
this.overlayComponentId = null;
144146
} else {
145147
this.toggle.close();
146148
}

0 commit comments

Comments
 (0)