angular-ui / ui-grid

UI Grid: an Angular Data Grid
http://ui-grid.info
MIT License
5.39k stars 2.47k forks source link

Using infinite scroll directive throws a [$rootScope:inprog] $digest already in progress exception when a column menu is opened #7218

Open Lilipi opened 2 years ago

Lilipi commented 2 years ago

Hi,

Using a grid with infinite scroll directive throws a [$rootScope:inprog] $digest already in progress exception everytime a column menu is opened.

ui-grid.js:7898 Error: [$rootScope:inprog] http://errors.angularjs.org/1.7.9/$rootScope/inprog?p0=%24digest at angular.js:99:1 at p (angular.js:19761:15) at m.$digest (angular.js:19091:9) at m.$apply (angular.js:19503:13) at GridApi.applyHideMenu (ui-grid.js:3495:18) at ui-grid.js:7935:21 at m.$emit (angular.js:19651:15) at Object.feature.raise. [as scrollBegin] (ui-grid.js:7898:30) at Grid.self.flagScrollingVertically (ui-grid.js:5243:29) at Grid.scrollContainers (ui-grid.js:6814:12)

Seems similar to https://github.com/angular-ui/ui-grid/issues/6989#issue-447891777

Thanks