{"action":"closed","number":97,"pull_request":{"url":"https://api.github.com/repos/valdrinkoshi/virtual-scroller/pulls/97","id":194440687,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk0NDQwNjg3","html_url":"https://github.com/valdrinkoshi/virtual-scroller/pull/97","diff_url":"https://github.com/valdrinkoshi/virtual-scroller/pull/97.diff","patch_url":"https://github.com/valdrinkoshi/virtual-scroller/pull/97.patch","issue_url":"https://api.github.com/repos/valdrinkoshi/virtual-scroller/issues/97","number":97,"state":"closed","locked":false,"title":"implement scrollToIndex()","user":{"login":"valdrinkoshi","id":6173664,"node_id":"MDQ6VXNlcjYxNzM2NjQ=","avatar_url":"https://avatars3.githubusercontent.com/u/6173664?v=4","gravatar_id":"","url":"https://api.github.com/users/valdrinkoshi","html_url":"https://github.com/valdrinkoshi","followers_url":"https://api.github.com/users/valdrinkoshi/followers","following_url":"https://api.github.com/users/valdrinkoshi/following{/other_user}","gists_url":"https://api.github.com/users/valdrinkoshi/gists{/gist_id}","starred_url":"https://api.github.com/users/valdrinkoshi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/valdrinkoshi/subscriptions","organizations_url":"https://api.github.com/users/valdrinkoshi/orgs","repos_url":"https://api.github.com/users/valdrinkoshi/repos","events_url":"https://api.github.com/users/valdrinkoshi/events{/privacy}","received_events_url":"https://api.github.com/users/valdrinkoshi/received_events","type":"User","site_admin":false},"body":"Fixes #88 by providing `scrollToIndex()` method, documentation and demo. This works both with all layouts we ship.\r\n\r\n@domenic feel free to update the README.md as you see fit.\r\n\r\nWe invalidate the `_scrollToIndex` only when receiving scroll position changes (in other words, when user scrolls).\r\n\r\n\r\nThis implementation differs from #64 in the following: we don't compute the scroll anchor when user scrolls, nor allow customizing anchoring via itemAnchor and viewportAnchor.","created_at":"2018-06-13T00:14:52Z","updated_at":"2018-06-13T23:08:18Z","closed_at":"2018-06-13T23:08:17Z","merged_at":"2018-06-13T23:08:17Z","merge_commit_sha":"b1e03b515008381b116d4e6cae57b10ec89697cf","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/valdrinkoshi/virtual-scroller/pulls/97/commits","review_comments_url":"https://api.github.com/repos/valdrinkoshi/virtual-scroller/pulls/97/comments","review_comment_url":"https://api.github.com/repos/valdrinkoshi/virtual-scroller/pulls/comments{/number}","comments_url":"https://api.github.com/repos/valdrinkoshi/virtual-scroller/issues/97/comments","statuses_url":"https://api.github.com/repos/valdrinkoshi/virtual-scroller/statuses/c85420da2b2bc7777fc8652ccb0742c33a29b967","head":{"label":"valdrinkoshi:fix-88-scroll-to-index","ref":"fix-88-scroll-to-index","sha":"c85420da2b2bc7777fc8652ccb0742c33a29b967","user":{"login":"valdrinkoshi","id":6173664,"node_id":"MDQ6VXNlcjYxNzM2NjQ=","avatar_url":"https://avatars3.githubusercontent.com/u/6173664?v=4","gravatar_id":"","url":"https://api.github.com/users/valdrinkoshi","html_url":"https://github.com/valdrinkoshi","followers_url":"https://api.github.com/users/valdrinkoshi/followers","following_url":"https://api.github.com/users/valdrinkoshi/following{/other_user}","gists_url":"https://api.github.com/users/valdrinkoshi/gists{/gist_id}","starred_url":"https://api.github.com/users/valdrinkoshi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/valdrinkoshi/subscriptions","organizations_url":"https://api.github.com/users/valdrinkoshi/orgs","repos_url":"https://api.github.com/users/valdrinkoshi/repos","events_url":"https://api.github.com/users/valdrinkoshi/events{/privacy}","received_events_url":"https://api.github.com/users/valdrinkoshi/received_events","type":"User","site_admin":false},"repo":{"id":124162869,"node_id":"MDEwOlJlcG9zaXRvcnkxMjQxNjI4Njk=","name":"virtual-scroller","full_name":"valdrinkoshi/virtual-scroller","owner":{"login":"valdrinkoshi","id":6173664,"node_id":"MDQ6VXNlcjYxNzM2NjQ=","avatar_url":"https://avatars3.githubusercontent.com/u/6173664?v=4","gravatar_id":"","url":"https://api.github.com/users/valdrinkoshi","html_url":"https://github.com/valdrinkoshi","followers_url":"https://api.github.com/users/valdrinkoshi/followers","following_url":"https://api.github.com/users/valdrinkoshi/following{/other_user}","gists_url":"https://api.github.com/users/valdrinkoshi/gists{/gist_id}","starred_url":"https://api.github.com/users/valdrinkoshi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/valdrinkoshi/subscriptions","organizations_url":"https://api.github.com/users/valdrinkoshi/orgs","repos_url":"https://api.github.com/users/valdrinkoshi/repos","events_url":"https://api.github.com/users/valdrinkoshi/events{/privacy}","received_events_url":"https://api.github.com/users/valdrinkoshi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/valdrinkoshi/virtual-scroller","description":null,"fork":false,"url":"https://api.github.com/repos/valdrinkoshi/virtual-scroller","forks_url":"https://api.github.com/repos/valdrinkoshi/virtual-scroller/forks","keys_url":"https://api.github.com/repos/valdrinkoshi/virtual-scroller/keys{/key_id}","collaborators_url":"https://api.github.com/repos/valdrinkoshi/virtual-scroller/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/valdrinkoshi/virtual-scroller/teams","hooks_url":"https://api.github.com/repos/valdrinkoshi/virtual-scroller/hooks","issue_events_url":"https://api.github.com/repos/valdrinkoshi/virtual-scroller/issues/events{/number}","events_url":"https://api.github.com/repos/valdrinkoshi/virtual-scroller/events","assignees_url":"https://api.github.com/repos/valdrinkoshi/virtual-scroller/assignees{/user}","branches_url":"https://api.github.com/repos/valdrinkoshi/virtual-scroller/branches{/branch}","tags_url":"https://api.github.com/repos/valdrinkoshi/virtual-scroller/tags","blobs_url":"https://api.github.com/repos/valdrinkoshi/virtual-scroller/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/valdrinkoshi/virtual-scroller/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/valdrinkoshi/virtual-scroller/git/refs{/sha}","trees_url":"https://api.github.com/repos/valdrinkoshi/virtual-scroller/git/trees{/sha}","statuses_url":"https://api.github.com/repos/valdrinkoshi/virtual-scroller/statuses/{sha}","languages_url":"https://api.github.com/repos/valdrinkoshi/virtual-scroller/languages","stargazers_url":"https://api.github.com/repos/valdrinkoshi/virtual-scroller/stargazers","contributors_url":"https://api.github.com/repos/valdrinkoshi/virtual-scroller/contributors","subscribers_url":"https://api.github.com/repos/valdrinkoshi/virtual-scroller/subscribers","subscription_url":"https://api.github.com/repos/valdrinkoshi/virtual-scroller/subscription","commits_url":"https://api.github.com/repos/valdrinkoshi/virtual-scroller/commits{/sha}","git_commits_url":"https://api.github.com/repos/valdrinkoshi/virtual-scroller/git/commits{/sha}","comments_url":"https://api.github.com/repos/valdrinkoshi/virtual-scroller/comments{/number}","issue_comment_url":"https://api.github.com/repos/valdrinkoshi/virtual-scroller/issues/comments{/number}","contents_url":"https://api.github.com/repos/valdrinkoshi/virtual-scroller/contents/{+path}","compare_url":"https://api.github.com/repos/valdrinkoshi/virtual-scroller/compare/{base}...{head}","merges_url":"https://api.github.com/repos/valdrinkoshi/virtual-scroller/merges","archive_url":"https://api.github.com/repos/valdrinkoshi/virtual-scroller/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/valdrinkoshi/virtual-scroller/downloads","issues_url":"https://api.github.com/repos/valdrinkoshi/virtual-scroller/issues{/number}","pulls_url":"https://api.github.com/repos/valdrinkoshi/virtual-scroller/pulls{/number}","milestones_url":"https://api.github.com/repos/valdrinkoshi/virtual-scroller/milestones{/number}","notifications_url":"https://api.github.com/repos/valdrinkoshi/virtual-scroller/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/valdrinkoshi/virtual-scroller/labels{/name}","releases_url":"https://api.github.com/repos/valdrinkoshi/virtual-scroller/releases{/id}","deployments_url":"https://api.github.com/repos/valdrinkoshi/virtual-scroller/deployments","created_at":"2018-03-07T01:48:50Z","updated_at":"2018-06-13T23:06:04Z","pushed_at":"2018-06-13T23:08:17Z","git_url":"git://github.com/valdrinkoshi/virtual-scroller.git","ssh_url":"git@github.com:valdrinkoshi/virtual-scroller.git","clone_url":"https://github.com/valdrinkoshi/virtual-scroller.git","svn_url":"https://github.com/valdrinkoshi/virtual-scroller","homepage":"https://valdrinkoshi.github.io/virtual-scroller/","size":720,"stargazers_count":140,"watchers_count":140,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":6,"mirror_url":null,"archived":false,"open_issues_count":27,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":6,"open_issues":27,"watchers":140,"default_branch":"master"}},"base":{"label":"valdrinkoshi:master","ref":"master","sha":"1e835572641109c61a3d032cdf3674506323dbd3","user":{"login":"valdrinkoshi","id":6173664,"node_id":"MDQ6VXNlcjYxNzM2NjQ=","avatar_url":"https://avatars3.githubusercontent.com/u/6173664?v=4","gravatar_id":"","url":"https://api.github.com/users/valdrinkoshi","html_url":"https://github.com/valdrinkoshi","followers_url":"https://api.github.com/users/valdrinkoshi/followers","following_url":"https://api.github.com/users/valdrinkoshi/following{/other_user}","gists_url":"https://api.github.com/users/valdrinkoshi/gists{/gist_id}","starred_url":"https://api.github.com/users/valdrinkoshi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/valdrinkoshi/subscriptions","organizations_url":"https://api.github.com/users/valdrinkoshi/orgs","repos_url":"https://api.github.com/users/valdrinkoshi/repos","events_url":"https://api.github.com/users/valdrinkoshi/events{/privacy}","received_events_url":"https://api.github.com/users/valdrinkoshi/received_events","type":"User","site_admin":false},"repo":{"id":124162869,"node_id":"MDEwOlJlcG9zaXRvcnkxMjQxNjI4Njk=","name":"virtual-scroller","full_name":"valdrinkoshi/virtual-scroller","owner":{"login":"valdrinkoshi","id":6173664,"node_id":"MDQ6VXNlcjYxNzM2NjQ=","avatar_url":"https://avatars3.githubusercontent.com/u/6173664?v=4","gravatar_id":"","url":"https://api.github.com/users/valdrinkoshi","html_url":"https://github.com/valdrinkoshi","followers_url":"https://api.github.com/users/valdrinkoshi/followers","following_url":"https://api.github.com/users/valdrinkoshi/following{/other_user}","gists_url":"https://api.github.com/users/valdrinkoshi/gists{/gist_id}","starred_url":"https://api.github.com/users/valdrinkoshi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/valdrinkoshi/subscriptions","organizations_url":"https://api.github.com/users/valdrinkoshi/orgs","repos_url":"https://api.github.com/users/valdrinkoshi/repos","events_url":"https://api.github.com/users/valdrinkoshi/events{/privacy}","received_events_url":"https://api.github.com/users/valdrinkoshi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/valdrinkoshi/virtual-scroller","description":null,"fork":false,"url":"https://api.github.com/repos/valdrinkoshi/virtual-scroller","forks_url":"https://api.github.com/repos/valdrinkoshi/virtual-scroller/forks","keys_url":"https://api.github.com/repos/valdrinkoshi/virtual-scroller/keys{/key_id}","collaborators_url":"https://api.github.com/repos/valdrinkoshi/virtual-scroller/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/valdrinkoshi/virtual-scroller/teams","hooks_url":"https://api.github.com/repos/valdrinkoshi/virtual-scroller/hooks","issue_events_url":"https://api.github.com/repos/valdrinkoshi/virtual-scroller/issues/events{/number}","events_url":"https://api.github.com/repos/valdrinkoshi/virtual-scroller/events","assignees_url":"https://api.github.com/repos/valdrinkoshi/virtual-scroller/assignees{/user}","branches_url":"https://api.github.com/repos/valdrinkoshi/virtual-scroller/branches{/branch}","tags_url":"https://api.github.com/repos/valdrinkoshi/virtual-scroller/tags","blobs_url":"https://api.github.com/repos/valdrinkoshi/virtual-scroller/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/valdrinkoshi/virtual-scroller/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/valdrinkoshi/virtual-scroller/git/refs{/sha}","trees_url":"https://api.github.com/repos/valdrinkoshi/virtual-scroller/git/trees{/sha}","statuses_url":"https://api.github.com/repos/valdrinkoshi/virtual-scroller/statuses/{sha}","languages_url":"https://api.github.com/repos/valdrinkoshi/virtual-scroller/languages","stargazers_url":"https://api.github.com/repos/valdrinkoshi/virtual-scroller/stargazers","contributors_url":"https://api.github.com/repos/valdrinkoshi/virtual-scroller/contributors","subscribers_url":"https://api.github.com/repos/valdrinkoshi/virtual-scroller/subscribers","subscription_url":"https://api.github.com/repos/valdrinkoshi/virtual-scroller/subscription","commits_url":"https://api.github.com/repos/valdrinkoshi/virtual-scroller/commits{/sha}","git_commits_url":"https://api.github.com/repos/valdrinkoshi/virtual-scroller/git/commits{/sha}","comments_url":"https://api.github.com/repos/valdrinkoshi/virtual-scroller/comments{/number}","issue_comment_url":"https://api.github.com/repos/valdrinkoshi/virtual-scroller/issues/comments{/number}","contents_url":"https://api.github.com/repos/valdrinkoshi/virtual-scroller/contents/{+path}","compare_url":"https://api.github.com/repos/valdrinkoshi/virtual-scroller/compare/{base}...{head}","merges_url":"https://api.github.com/repos/valdrinkoshi/virtual-scroller/merges","archive_url":"https://api.github.com/repos/valdrinkoshi/virtual-scroller/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/valdrinkoshi/virtual-scroller/downloads","issues_url":"https://api.github.com/repos/valdrinkoshi/virtual-scroller/issues{/number}","pulls_url":"https://api.github.com/repos/valdrinkoshi/virtual-scroller/pulls{/number}","milestones_url":"https://api.github.com/repos/valdrinkoshi/virtual-scroller/milestones{/number}","notifications_url":"https://api.github.com/repos/valdrinkoshi/virtual-scroller/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/valdrinkoshi/virtual-scroller/labels{/name}","releases_url":"https://api.github.com/repos/valdrinkoshi/virtual-scroller/releases{/id}","deployments_url":"https://api.github.com/repos/valdrinkoshi/virtual-scroller/deployments","created_at":"2018-03-07T01:48:50Z","updated_at":"2018-06-13T23:06:04Z","pushed_at":"2018-06-13T23:08:17Z","git_url":"git://github.com/valdrinkoshi/virtual-scroller.git","ssh_url":"git@github.com:valdrinkoshi/virtual-scroller.git","clone_url":"https://github.com/valdrinkoshi/virtual-scroller.git","svn_url":"https://github.com/valdrinkoshi/virtual-scroller","homepage":"https://valdrinkoshi.github.io/virtual-scroller/","size":720,"stargazers_count":140,"watchers_count":140,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":6,"mirror_url":null,"archived":false,"open_issues_count":27,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":6,"open_issues":27,"watchers":140,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/valdrinkoshi/virtual-scroller/pulls/97"},"html":{"href":"https://github.com/valdrinkoshi/virtual-scroller/pull/97"},"issue":{"href":"https://api.github.com/repos/valdrinkoshi/virtual-scroller/issues/97"},"comments":{"href":"https://api.github.com/repos/valdrinkoshi/virtual-scroller/issues/97/comments"},"review_comments":{"href":"https://api.github.com/repos/valdrinkoshi/virtual-scroller/pulls/97/comments"},"review_comment":{"href":"https://api.github.com/repos/valdrinkoshi/virtual-scroller/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/valdrinkoshi/virtual-scroller/pulls/97/commits"},"statuses":{"href":"https://api.github.com/repos/valdrinkoshi/virtual-scroller/statuses/c85420da2b2bc7777fc8652ccb0742c33a29b967"}},"author_association":"OWNER","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"valdrinkoshi","id":6173664,"node_id":"MDQ6VXNlcjYxNzM2NjQ=","avatar_url":"https://avatars3.githubusercontent.com/u/6173664?v=4","gravatar_id":"","url":"https://api.github.com/users/valdrinkoshi","html_url":"https://github.com/valdrinkoshi","followers_url":"https://api.github.com/users/valdrinkoshi/followers","following_url":"https://api.github.com/users/valdrinkoshi/following{/other_user}","gists_url":"https://api.github.com/users/valdrinkoshi/gists{/gist_id}","starred_url":"https://api.github.com/users/valdrinkoshi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/valdrinkoshi/subscriptions","organizations_url":"https://api.github.com/users/valdrinkoshi/orgs","repos_url":"https://api.github.com/users/valdrinkoshi/repos","events_url":"https://api.github.com/users/valdrinkoshi/events{/privacy}","received_events_url":"https://api.github.com/users/valdrinkoshi/received_events","type":"User","site_admin":false},"comments":1,"review_comments":9,"maintainer_can_modify":false,"commits":6,"additions":201,"deletions":5,"changed_files":8}}
{"actor":{"display_login":"valdrinkoshi"}}