Skip to content

Commit a0e80f9

Browse files
committed
fix(*): do not close hiding overlay when hide some column
1 parent 15c9ef5 commit a0e80f9

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

projects/igniteui-angular/src/lib/grids/grid-base.directive.ts

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3616,6 +3616,10 @@ export abstract class IgxGridBaseDirective extends DisplayDensityBase implements
36163616
}
36173617
});
36183618

3619+
/* this.overlayService.closing.pipe(filter(() => !this._init), destructor).subscribe((event) => {
3620+
console.log(event);
3621+
}); */
3622+
36193623
this.overlayService.closed.pipe(filter(() => !this._init), destructor).subscribe((event) => {
36203624
if (this._advancedFilteringOverlayId === event.id) {
36213625
this.overlayService.detach(this._advancedFilteringOverlayId);
@@ -7611,8 +7615,9 @@ export abstract class IgxGridBaseDirective extends DisplayDensityBase implements
76117615
});
76127616
});
76137617
});
7614-
7615-
this.hideOverlays();
7618+
if(!this.navigation.isColumnFullyVisible(this.navigation.lastColumnIndex)) {
7619+
this.hideOverlays();
7620+
}
76167621
const args: IGridScrollEventArgs = { direction: 'horizontal', event, scrollPosition: this.headerContainer.scrollPosition };
76177622
this.gridScroll.emit(args);
76187623
}

0 commit comments

Comments
 (0)