Skip to content

Commit ccc1223

Browse files
authored
Merge pull request #12495 from IgniteUI/ddincheva/fixToolbarHiding
Do not close the dropdown menu if the Grid is scrolled horizontally and a column is being hidden through the UI
2 parents 47263ac + 9305b3e commit ccc1223

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7611,8 +7611,9 @@ export abstract class IgxGridBaseDirective extends DisplayDensityBase implements
76117611
});
76127612
});
76137613
});
7614-
7615-
this.hideOverlays();
7614+
if(!this.navigation.isColumnFullyVisible(this.navigation.lastColumnIndex)) {
7615+
this.hideOverlays();
7616+
}
76167617
const args: IGridScrollEventArgs = { direction: 'horizontal', event, scrollPosition: this.headerContainer.scrollPosition };
76177618
this.gridScroll.emit(args);
76187619
}

0 commit comments

Comments
 (0)