{"action":"created","issue":{"url":"https://api.github.com/repos/driftyco/ionic/issues/3652","labels_url":"https://api.github.com/repos/driftyco/ionic/issues/3652/labels{/name}","comments_url":"https://api.github.com/repos/driftyco/ionic/issues/3652/comments","events_url":"https://api.github.com/repos/driftyco/ionic/issues/3652/events","html_url":"https://github.com/driftyco/ionic/issues/3652","id":72461353,"number":3652,"title":"bug: Infinite scroll not working when ion-scroll on page","user":{"login":"greatwitenorth","id":547583,"avatar_url":"https://avatars.githubusercontent.com/u/547583?v=3","gravatar_id":"","url":"https://api.github.com/users/greatwitenorth","html_url":"https://github.com/greatwitenorth","followers_url":"https://api.github.com/users/greatwitenorth/followers","following_url":"https://api.github.com/users/greatwitenorth/following{/other_user}","gists_url":"https://api.github.com/users/greatwitenorth/gists{/gist_id}","starred_url":"https://api.github.com/users/greatwitenorth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/greatwitenorth/subscriptions","organizations_url":"https://api.github.com/users/greatwitenorth/orgs","repos_url":"https://api.github.com/users/greatwitenorth/repos","events_url":"https://api.github.com/users/greatwitenorth/events{/privacy}","received_events_url":"https://api.github.com/users/greatwitenorth/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/driftyco/ionic/labels/ready","name":"ready","color":"ededed"},{"url":"https://api.github.com/repos/driftyco/ionic/labels/scroll","name":"scroll","color":"eb6420"}],"state":"closed","locked":false,"assignee":{"login":"perrygovier","id":571056,"avatar_url":"https://avatars.githubusercontent.com/u/571056?v=3","gravatar_id":"","url":"https://api.github.com/users/perrygovier","html_url":"https://github.com/perrygovier","followers_url":"https://api.github.com/users/perrygovier/followers","following_url":"https://api.github.com/users/perrygovier/following{/other_user}","gists_url":"https://api.github.com/users/perrygovier/gists{/gist_id}","starred_url":"https://api.github.com/users/perrygovier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/perrygovier/subscriptions","organizations_url":"https://api.github.com/users/perrygovier/orgs","repos_url":"https://api.github.com/users/perrygovier/repos","events_url":"https://api.github.com/users/perrygovier/events{/privacy}","received_events_url":"https://api.github.com/users/perrygovier/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/driftyco/ionic/milestones/24","html_url":"https://github.com/driftyco/ionic/milestones/1.2","labels_url":"https://api.github.com/repos/driftyco/ionic/milestones/24/labels","id":1256497,"number":24,"title":"1.2","description":"","creator":{"login":"mhartington","id":2835826,"avatar_url":"https://avatars.githubusercontent.com/u/2835826?v=3","gravatar_id":"","url":"https://api.github.com/users/mhartington","html_url":"https://github.com/mhartington","followers_url":"https://api.github.com/users/mhartington/followers","following_url":"https://api.github.com/users/mhartington/following{/other_user}","gists_url":"https://api.github.com/users/mhartington/gists{/gist_id}","starred_url":"https://api.github.com/users/mhartington/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mhartington/subscriptions","organizations_url":"https://api.github.com/users/mhartington/orgs","repos_url":"https://api.github.com/users/mhartington/repos","events_url":"https://api.github.com/users/mhartington/events{/privacy}","received_events_url":"https://api.github.com/users/mhartington/received_events","type":"User","site_admin":false},"open_issues":18,"closed_issues":94,"state":"open","created_at":"2015-08-15T19:11:25Z","updated_at":"2015-12-10T00:22:21Z","due_on":"2015-12-20T06:00:00Z","closed_at":null},"comments":10,"created_at":"2015-05-01T15:55:28Z","updated_at":"2015-12-10T00:22:21Z","closed_at":"2015-12-10T00:22:21Z","body":"**Type**: <span ionic-type>bug</span>\n\n**Platform**: <span ionic-platform>all</span>  \n\n<span ionic-description>ion-infinite-scroll seems to have issues when ion-scroll is right above a list. It works intermittently or not at all. \r\n\r\nIf you scroll right to the bottom of the list, it will not load any more items. If you scroll to the bottom and then scroll up just a little, it will load a bunch more items (out of view) then after a few seconds you can scroll down.\r\n\r\nI've reproduced the problem here:\r\nhttp://codepen.io/anon/pen/mJJXvp?editors=101\r\n\r\nFor reference here is the code:\r\nhtml:\r\n```\r\n<html>\r\n  <head>\r\n    <meta charset=\"utf-8\">\r\n    <title>Ionic List Example</title>\r\n    <meta name=\"viewport\" content=\"initial-scale=1, maximum-scale=1, user-scalable=no\">\r\n    \r\n    <title>Infitine Scroll</title>\r\n\r\n    <link href=\"http://code.ionicframework.com/1.0.0-rc.4/css/ionic.min.css\" rel=\"stylesheet\">\r\n    <script src=\"http://code.ionicframework.com/1.0.0-rc.4/js/ionic.bundle.min.js\"></script>\r\n  </head>\r\n\r\n  <body ng-app=\"listExample\">\r\n    <ion-content ng-controller=\"MyController\">\r\n      <ion-scroll direction=\"x\" class=\"wide-as-needed\" scrollbar-x=\"false\">\r\n          <a href=\"#\" ng-repeat=\"pic in pics\">\r\n              <img width=\"150px\" style=\"margin-left: 10px;\" src=\"{{pic}}\">\r\n          </a>\r\n      </ion-scroll>\r\n      <ion-list>\r\n        <ion-item ng-repeat=\"item in items\">{{item}}</ion-item>\r\n      </ion-list>\r\n      \r\n      <ion-infinite-scroll on-infinite=\"loadMore()\" distance=\"10%\"></ion-infinite-scroll>\r\n      \r\n    </ion-content>\r\n  </body>\r\n</html>\r\n```\r\njs:\r\n```\r\nangular.module('listExample', ['ionic'])\r\n.controller('MyController', function($scope) {\r\n  $scope.items = ['thing 0'];\r\n  \r\n  $scope.pics = [\r\n    'http://jasonlefkowitz.net/wp-content/uploads/2013/07/Cute-Cats-cats-33440930-1280-800.jpg',\r\n 'https://pbs.twimg.com/profile_images/378800000532546226/dbe5f0727b69487016ffd67a6689e75a.jpeg'\r\n  ];\r\n  \r\n  $scope.loadMore = function() {\r\n    $scope.items = $scope.items.concat(\"thing \"+$scope.items.length);\r\n    $scope.$broadcast('scroll.infiniteScrollComplete');\r\n  };\r\n\r\n});\r\n```\r\n\r\nYou'll see that items begin to load, but then it stop and doesn't continue to load when you reach the bottom of the list.\r\n\r\nIf you remove the ion-scroll block infinite-scroll works as intended.</span>\n\n<span is-issue-template></span>\n"},"comment":{"url":"https://api.github.com/repos/driftyco/ionic/issues/comments/163445479","html_url":"https://github.com/driftyco/ionic/issues/3652#issuecomment-163445479","issue_url":"https://api.github.com/repos/driftyco/ionic/issues/3652","id":163445479,"user":{"login":"mlynch","id":11214,"avatar_url":"https://avatars.githubusercontent.com/u/11214?v=3","gravatar_id":"","url":"https://api.github.com/users/mlynch","html_url":"https://github.com/mlynch","followers_url":"https://api.github.com/users/mlynch/followers","following_url":"https://api.github.com/users/mlynch/following{/other_user}","gists_url":"https://api.github.com/users/mlynch/gists{/gist_id}","starred_url":"https://api.github.com/users/mlynch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mlynch/subscriptions","organizations_url":"https://api.github.com/users/mlynch/orgs","repos_url":"https://api.github.com/users/mlynch/repos","events_url":"https://api.github.com/users/mlynch/events{/privacy}","received_events_url":"https://api.github.com/users/mlynch/received_events","type":"User","site_admin":false},"created_at":"2015-12-10T00:22:21Z","updated_at":"2015-12-10T00:22:21Z","body":"Try with 1.2 coming here soon, should be fixed."}}