-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Closed
Milestone
Description
Hello,
When I'm launching my Ionic app on Safari mobile, the infinite scroll function is looping when i'm returning to the specific view. You can see the error :
In my template, after the ion-list markup :
<ion-infinite-scroll on-infinite="loadMore()" distance="1%"> </ion-infinite-scroll>
In my controller :
$scope.items = [];
$scope.loadMore = function() {
$http.get('/api/list.json').success(function(data) {
var i = 0;
data.items.forEach(function(item){
i++;
$scope.items.push(item);
});
$scope.$broadcast('scroll.infiniteScrollComplete');
});
};
This error occurs only on iphone 5 (v8.1.1) default browser (Safari) but not in Chrome.
For information, i'm working with the latest version of Ionic : 1.0.0-beta.13.
Thanks for your help.
Metadata
Metadata
Assignees
Labels
No labels