Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

Commit acbf293

Browse files
author
Robert Messerle
committed
fix(virtualRepeat): prevents digest if digest is already in progress
1 parent 1a99821 commit acbf293

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/virtualRepeat/virtual-repeater.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -489,7 +489,7 @@ VirtualRepeatController.prototype.containerUpdated = function() {
489489
this.$$rAF(angular.bind(this, this.readItemSize_));
490490
}
491491
}));
492-
this.$scope.$digest();
492+
if (!this.$scope.$root.$$phase) this.$scope.$digest();
493493

494494
return;
495495
} else if (!this.sized) {

0 commit comments

Comments
 (0)