mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
fix(collectionRepeat): rerender when $ionicScrollDelegate resizes
Fixes #1777
This commit is contained in:
4
js/angular/controller/scrollController.js
vendored
4
js/angular/controller/scrollController.js
vendored
@@ -116,7 +116,9 @@ function($scope, scrollViewOptions, $timeout, $window, $$scrollValueCache, $loca
|
||||
};
|
||||
|
||||
this.resize = function() {
|
||||
return $timeout(resize);
|
||||
return $timeout(resize).then(function() {
|
||||
$element.triggerHandler('scroll.resize');
|
||||
});
|
||||
};
|
||||
|
||||
this.scrollTop = function(shouldAnimate) {
|
||||
|
||||
Reference in New Issue
Block a user