Skip to content

Commit 8919de5

Browse files
committed
Merge branch 'master' of github.com:angular-ui/ui-scroll into buffer-first-next
2 parents 7c8659f + efe6cac commit 8919de5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ui-scroll.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ angular.module('ui.scroll', [])
344344
const updates = updateDOM();
345345

346346
// We need the item bindings to be processed before we can do adjustments
347-
!$scope.$$phase && $scope.$digest();
347+
!$scope.$$phase && !$scope.$root.$$phase && $scope.$digest();
348348

349349
updates.inserted.forEach(w => elementRoutines.showElement(w));
350350
updates.prepended.forEach(w => elementRoutines.showElement(w));

0 commit comments

Comments
 (0)