ionic-team / ionic-framework

A powerful cross-platform UI toolkit for building native-quality iOS, Android, and Progressive Web Apps with HTML, CSS, and JavaScript.
https://ionicframework.com
MIT License
50.89k stars 13.52k forks source link

Pull to refresh slides duplicate of list at bottom of lists #4166

Closed ssharmass closed 8 years ago

ssharmass commented 9 years ago

Hi All, I am working on Pull to refresh when I pull to refresh list , it is working but at the bottom it display all list (i.e. duplicate of all list ) slide left (like page transition) , I search about that but there is no such thing available to do. Please let me know , anybody have something.

Regards Shivam

perrygovier commented 9 years ago

Hey @ssharmass, could you demonstrate this in a codepen?

ssharmass commented 9 years ago

Hi Perry,

Shivam01 https://disqus.com/by/shivam01/ Simon Reimler https://disqus.com/by/simonreimler/ 3 days ago https://disqus.com/home/discussion/devdactic/add_pull_to_refresh_with_toast_message_in_your_ionic_app/#comment-2186180741

Hi Simon , Sorry for delay , The code is same as given above .controller('AppCtrl', function($scope, $cordovaToast) { // First time when go to list page $http(url).success(function(response) {

        $scope.items = response;
    })
    // for do refresh and in html I

$scope.doRefresh = function() {
    $http(url).success(function(response) {

        $scope.items = response;
    }).finally(function() {
        $scope.$broadcast('scroll.refreshComplete');
    })
);

});

Follow following links :- http://ionicframework.com/docs... http://ionicframework.com/docs/api/directive/ionRefresher/ http://learn.ionicframework.co... http://learn.ionicframework.com/formulas/pull-to-refresh/

When $scope.$broadcast('scroll.refreshComplete'); run , then just below the list copy of all list swipe left and that is a problem. Please tell me solution or alternative.

and One more as example telling that I have put ion-refresh just above the

, so why did you put after , pleas e explain this as well. Thanks Shivam On Thu, Aug 13, 2015 at 9:43 PM, Perry Govier notifications@github.com wrote: > Hey @ssharmass https://github.com/ssharmass, could you demonstrate this > in a codepen? > > — > Reply to this email directly or view it on GitHub > https://github.com/driftyco/ionic/issues/4166#issuecomment-130745376.
Ionitron commented 8 years ago

Greetings @ssharmass!

I've closed this issue because my sensors indicated it was old and inactive, and may have already been fixed in recent versions of Ionic. However, if you are still experiencing this issue, please feel free to reopen this issue by creating a new one, and include any examples and other necessary information, so that we can look into it further.

Thank you for allowing me to assist you.