Scenery:
The <ion-spinner>
directive is used on screen A, but when it is used on the next screen, screen B, a problem occurs, where it appears but does not have the animation.
Has anyone ever had this problem, and was able to fix it?
Scenery:
The <ion-spinner>
directive is used on screen A, but when it is used on the next screen, screen B, a problem occurs, where it appears but does not have the animation.
Has anyone ever had this problem, and was able to fix it?
I've had problems with spinner when I was using the old version of Ionic. Take a look at the ionic / version.json file and see which version you are using. Check the link site if you are even with a current version.
//We need to let the ion-infinite-scroll know that we’re done loading in the new items.
//To do this, we need to broadcast the scroll.infiniteScrollComplete event.
$scope.$broadcast('scroll.infiniteScrollComplete');
Just add this line when your function returns the values in the list. example:
var successCallback = function(data){
$scope.list = $scope.list.concat(data);
$scope.$broadcast('scroll.infiniteScrollComplete');
});