{"action":"closed","issue":{"url":"https://api.github.com/repos/angular-ui/ui-grid/issues/3920","labels_url":"https://api.github.com/repos/angular-ui/ui-grid/issues/3920/labels{/name}","comments_url":"https://api.github.com/repos/angular-ui/ui-grid/issues/3920/comments","events_url":"https://api.github.com/repos/angular-ui/ui-grid/issues/3920/events","html_url":"https://github.com/angular-ui/ui-grid/issues/3920","id":92664103,"number":3920,"title":"Update ngDocs of the module \"infiniteScroll\"","user":{"login":"LuisLoureiro","id":1401605,"avatar_url":"https://avatars.githubusercontent.com/u/1401605?v=3","gravatar_id":"","url":"https://api.github.com/users/LuisLoureiro","html_url":"https://github.com/LuisLoureiro","followers_url":"https://api.github.com/users/LuisLoureiro/followers","following_url":"https://api.github.com/users/LuisLoureiro/following{/other_user}","gists_url":"https://api.github.com/users/LuisLoureiro/gists{/gist_id}","starred_url":"https://api.github.com/users/LuisLoureiro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LuisLoureiro/subscriptions","organizations_url":"https://api.github.com/users/LuisLoureiro/orgs","repos_url":"https://api.github.com/users/LuisLoureiro/repos","events_url":"https://api.github.com/users/LuisLoureiro/events{/privacy}","received_events_url":"https://api.github.com/users/LuisLoureiro/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/angular-ui/ui-grid/labels/grid-infinite-scroll","name":"grid-infinite-scroll","color":"fad8c7"},{"url":"https://api.github.com/repos/angular-ui/ui-grid/labels/needs:%20answer","name":"needs: answer","color":"207de5"},{"url":"https://api.github.com/repos/angular-ui/ui-grid/labels/type:%20docs","name":"type: docs","color":"ffdb80"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-07-02T15:23:29Z","updated_at":"2015-12-16T11:00:21Z","closed_at":"2015-12-16T11:00:21Z","body":"While trying to reset the scroll position of my grid using the function [PublicAPI.resetScroll(scrollUp, scrollDown)](https://github.com/angular-ui/ng-grid/blob/f2368cc/src/features/infinite-scroll/js/infinite-scroll.js#L125) I noticed that the documentation is not correct.\r\nIt says that this function returns a promise but instead it always returns _undefined_ because the function [uiGridInfiniteScrollService.adjustInfiniteScrollPosition(grid, percentage)](https://github.com/angular-ui/ng-grid/blob/f2368cc/src/features/infinite-scroll/js/infinite-scroll.js#L399) doesn't return anything. Furthermore, the documentation of this function is not correct too.\r\n\r\nDo you want a PR?\r\n\r\nThanks"}}