Skip to content

Commit

Permalink
Merge pull request #12497 from IgniteUI/ddincheva/fixToolbarHiding-14.2
Browse files Browse the repository at this point in the history
Do not close the dropdown menu if the Grid is scrolled horizontally and a column is being hidden through the UI --14.2
  • Loading branch information
ChronosSF committed Jan 9, 2023
2 parents 4c84798 + 4e4886f commit 8b25565
Showing 1 changed file with 3 additions and 2 deletions.
Expand Up @@ -7318,8 +7318,9 @@ export abstract class IgxGridBaseDirective extends DisplayDensityBase implements
});
});
});

this.hideOverlays();
if(!this.navigation.isColumnFullyVisible(this.navigation.lastColumnIndex)) {
this.hideOverlays();
}
const args: IGridScrollEventArgs = { direction: 'horizontal', event, scrollPosition: this.headerContainer.scrollPosition };
this.gridScroll.emit(args);
}
Expand Down

0 comments on commit 8b25565

Please sign in to comment.