{"action":"closed","issue":{"url":"https://api.github.com/repos/angular-ui/ui-scroll/issues/70","repository_url":"https://api.github.com/repos/angular-ui/ui-scroll","labels_url":"https://api.github.com/repos/angular-ui/ui-scroll/issues/70/labels{/name}","comments_url":"https://api.github.com/repos/angular-ui/ui-scroll/issues/70/comments","events_url":"https://api.github.com/repos/angular-ui/ui-scroll/issues/70/events","html_url":"https://github.com/angular-ui/ui-scroll/issues/70","id":142700170,"number":70,"title":"Recent Improvements to Scrolling has Removed Top Visible Item on scroll","user":{"login":"jahumes","id":2252877,"avatar_url":"https://avatars.githubusercontent.com/u/2252877?v=3","gravatar_id":"","url":"https://api.github.com/users/jahumes","html_url":"https://github.com/jahumes","followers_url":"https://api.github.com/users/jahumes/followers","following_url":"https://api.github.com/users/jahumes/following{/other_user}","gists_url":"https://api.github.com/users/jahumes/gists{/gist_id}","starred_url":"https://api.github.com/users/jahumes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jahumes/subscriptions","organizations_url":"https://api.github.com/users/jahumes/orgs","repos_url":"https://api.github.com/users/jahumes/repos","events_url":"https://api.github.com/users/jahumes/events{/privacy}","received_events_url":"https://api.github.com/users/jahumes/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2016-03-22T16:15:39Z","updated_at":"2016-03-23T14:40:33Z","closed_at":"2016-03-23T14:40:33Z","body":"With the recent improvements, the top visible item is no longer updated on scrolling. It is only updated when a call is made to the buffer because the calculateProperties function is now only called if the adjustBuffer is called. This is no longer called by default on the scroll event. Please see the link for a reproduction. If you scroll, the number should change when the top visible item is changed. You can see it only changes when new items are fetched from the datasource.\r\n\r\nhttps://jsfiddle.net/ypdbmrt8/14/\r\n\r\nI am working on a pull request right now. I am thinking that we should run the calculateProperties function in the resize scroll handler if the pending.length is not greater than 0."}}