We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f8b1b8e commit e9e9c33Copy full SHA for e9e9c33
src/ui-scroll.js
@@ -333,7 +333,7 @@ angular.module('ui.scroll', [])
333
let updates = updateDOM();
334
335
// We need the item bindings to be processed before we can do adjustment
336
- $scope.$apply(() => $timeout(() => {
+ $scope.$applyAsync(() => {
337
338
// show elements after data binging has been done
339
updates.inserted.forEach(w => w.element.removeClass('ng-hide'));
@@ -349,7 +349,7 @@ angular.module('ui.scroll', [])
349
if (!pending.length) {
350
adapter.calculateProperties();
351
}
352
- }));
+ });
353
354
355
function adjustBufferAfterFetch(rid) {
0 commit comments