{"action":"opened","number":25,"pull_request":{"url":"https://api.github.com/repos/codecks-io/react-sticky-box/pulls/25","id":224102492,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI0MTAyNDky","html_url":"https://github.com/codecks-io/react-sticky-box/pull/25","diff_url":"https://github.com/codecks-io/react-sticky-box/pull/25.diff","patch_url":"https://github.com/codecks-io/react-sticky-box/pull/25.patch","issue_url":"https://api.github.com/repos/codecks-io/react-sticky-box/issues/25","number":25,"state":"open","locked":false,"title":"Allow direct transitions between stickyTop and stickyBottom modes","user":{"login":"jorgearanda","id":730633,"node_id":"MDQ6VXNlcjczMDYzMw==","avatar_url":"https://avatars3.githubusercontent.com/u/730633?v=4","gravatar_id":"","url":"https://api.github.com/users/jorgearanda","html_url":"https://github.com/jorgearanda","followers_url":"https://api.github.com/users/jorgearanda/followers","following_url":"https://api.github.com/users/jorgearanda/following{/other_user}","gists_url":"https://api.github.com/users/jorgearanda/gists{/gist_id}","starred_url":"https://api.github.com/users/jorgearanda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jorgearanda/subscriptions","organizations_url":"https://api.github.com/users/jorgearanda/orgs","repos_url":"https://api.github.com/users/jorgearanda/repos","events_url":"https://api.github.com/users/jorgearanda/events{/privacy}","received_events_url":"https://api.github.com/users/jorgearanda/received_events","type":"User","site_admin":false},"body":"This commit adds checks to `handleScroll()` to allow for direct transitions between the `stickyTop` and `stickyBottom` modes.\r\n\r\nThis fixes the problem reported in issue #24, where a programmatic scroll (`window.scrollTo()`) issues a single event, that event causes a state change (say from `stickyTop` to `relative`), but does not actually reposition the `StickyBox` where it should be.","created_at":"2018-10-18T21:18:51Z","updated_at":"2018-10-18T21:18:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/codecks-io/react-sticky-box/pulls/25/commits","review_comments_url":"https://api.github.com/repos/codecks-io/react-sticky-box/pulls/25/comments","review_comment_url":"https://api.github.com/repos/codecks-io/react-sticky-box/pulls/comments{/number}","comments_url":"https://api.github.com/repos/codecks-io/react-sticky-box/issues/25/comments","statuses_url":"https://api.github.com/repos/codecks-io/react-sticky-box/statuses/a24c57440e91960b1f57b6a84c67ee8c970c3e17","head":{"label":"jorgearanda:master","ref":"master","sha":"a24c57440e91960b1f57b6a84c67ee8c970c3e17","user":{"login":"jorgearanda","id":730633,"node_id":"MDQ6VXNlcjczMDYzMw==","avatar_url":"https://avatars3.githubusercontent.com/u/730633?v=4","gravatar_id":"","url":"https://api.github.com/users/jorgearanda","html_url":"https://github.com/jorgearanda","followers_url":"https://api.github.com/users/jorgearanda/followers","following_url":"https://api.github.com/users/jorgearanda/following{/other_user}","gists_url":"https://api.github.com/users/jorgearanda/gists{/gist_id}","starred_url":"https://api.github.com/users/jorgearanda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jorgearanda/subscriptions","organizations_url":"https://api.github.com/users/jorgearanda/orgs","repos_url":"https://api.github.com/users/jorgearanda/repos","events_url":"https://api.github.com/users/jorgearanda/events{/privacy}","received_events_url":"https://api.github.com/users/jorgearanda/received_events","type":"User","site_admin":false},"repo":{"id":153682836,"node_id":"MDEwOlJlcG9zaXRvcnkxNTM2ODI4MzY=","name":"react-sticky-box","full_name":"jorgearanda/react-sticky-box","private":false,"owner":{"login":"jorgearanda","id":730633,"node_id":"MDQ6VXNlcjczMDYzMw==","avatar_url":"https://avatars3.githubusercontent.com/u/730633?v=4","gravatar_id":"","url":"https://api.github.com/users/jorgearanda","html_url":"https://github.com/jorgearanda","followers_url":"https://api.github.com/users/jorgearanda/followers","following_url":"https://api.github.com/users/jorgearanda/following{/other_user}","gists_url":"https://api.github.com/users/jorgearanda/gists{/gist_id}","starred_url":"https://api.github.com/users/jorgearanda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jorgearanda/subscriptions","organizations_url":"https://api.github.com/users/jorgearanda/orgs","repos_url":"https://api.github.com/users/jorgearanda/repos","events_url":"https://api.github.com/users/jorgearanda/events{/privacy}","received_events_url":"https://api.github.com/users/jorgearanda/received_events","type":"User","site_admin":false},"html_url":"https://github.com/jorgearanda/react-sticky-box","description":"Sticky scrolling for all contents of all sizes","fork":true,"url":"https://api.github.com/repos/jorgearanda/react-sticky-box","forks_url":"https://api.github.com/repos/jorgearanda/react-sticky-box/forks","keys_url":"https://api.github.com/repos/jorgearanda/react-sticky-box/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jorgearanda/react-sticky-box/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jorgearanda/react-sticky-box/teams","hooks_url":"https://api.github.com/repos/jorgearanda/react-sticky-box/hooks","issue_events_url":"https://api.github.com/repos/jorgearanda/react-sticky-box/issues/events{/number}","events_url":"https://api.github.com/repos/jorgearanda/react-sticky-box/events","assignees_url":"https://api.github.com/repos/jorgearanda/react-sticky-box/assignees{/user}","branches_url":"https://api.github.com/repos/jorgearanda/react-sticky-box/branches{/branch}","tags_url":"https://api.github.com/repos/jorgearanda/react-sticky-box/tags","blobs_url":"https://api.github.com/repos/jorgearanda/react-sticky-box/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jorgearanda/react-sticky-box/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jorgearanda/react-sticky-box/git/refs{/sha}","trees_url":"https://api.github.com/repos/jorgearanda/react-sticky-box/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jorgearanda/react-sticky-box/statuses/{sha}","languages_url":"https://api.github.com/repos/jorgearanda/react-sticky-box/languages","stargazers_url":"https://api.github.com/repos/jorgearanda/react-sticky-box/stargazers","contributors_url":"https://api.github.com/repos/jorgearanda/react-sticky-box/contributors","subscribers_url":"https://api.github.com/repos/jorgearanda/react-sticky-box/subscribers","subscription_url":"https://api.github.com/repos/jorgearanda/react-sticky-box/subscription","commits_url":"https://api.github.com/repos/jorgearanda/react-sticky-box/commits{/sha}","git_commits_url":"https://api.github.com/repos/jorgearanda/react-sticky-box/git/commits{/sha}","comments_url":"https://api.github.com/repos/jorgearanda/react-sticky-box/comments{/number}","issue_comment_url":"https://api.github.com/repos/jorgearanda/react-sticky-box/issues/comments{/number}","contents_url":"https://api.github.com/repos/jorgearanda/react-sticky-box/contents/{+path}","compare_url":"https://api.github.com/repos/jorgearanda/react-sticky-box/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jorgearanda/react-sticky-box/merges","archive_url":"https://api.github.com/repos/jorgearanda/react-sticky-box/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jorgearanda/react-sticky-box/downloads","issues_url":"https://api.github.com/repos/jorgearanda/react-sticky-box/issues{/number}","pulls_url":"https://api.github.com/repos/jorgearanda/react-sticky-box/pulls{/number}","milestones_url":"https://api.github.com/repos/jorgearanda/react-sticky-box/milestones{/number}","notifications_url":"https://api.github.com/repos/jorgearanda/react-sticky-box/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jorgearanda/react-sticky-box/labels{/name}","releases_url":"https://api.github.com/repos/jorgearanda/react-sticky-box/releases{/id}","deployments_url":"https://api.github.com/repos/jorgearanda/react-sticky-box/deployments","created_at":"2018-10-18T20:22:49Z","updated_at":"2018-10-18T21:17:26Z","pushed_at":"2018-10-18T21:17:25Z","git_url":"git://github.com/jorgearanda/react-sticky-box.git","ssh_url":"git@github.com:jorgearanda/react-sticky-box.git","clone_url":"https://github.com/jorgearanda/react-sticky-box.git","svn_url":"https://github.com/jorgearanda/react-sticky-box","homepage":"https://react-sticky-box.codecks.io/","size":310,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"codecks-io:master","ref":"master","sha":"2d071c192bb56e930d3388ce556fbfd49ec5e3fe","user":{"login":"codecks-io","id":23637080,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIzNjM3MDgw","avatar_url":"https://avatars0.githubusercontent.com/u/23637080?v=4","gravatar_id":"","url":"https://api.github.com/users/codecks-io","html_url":"https://github.com/codecks-io","followers_url":"https://api.github.com/users/codecks-io/followers","following_url":"https://api.github.com/users/codecks-io/following{/other_user}","gists_url":"https://api.github.com/users/codecks-io/gists{/gist_id}","starred_url":"https://api.github.com/users/codecks-io/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codecks-io/subscriptions","organizations_url":"https://api.github.com/users/codecks-io/orgs","repos_url":"https://api.github.com/users/codecks-io/repos","events_url":"https://api.github.com/users/codecks-io/events{/privacy}","received_events_url":"https://api.github.com/users/codecks-io/received_events","type":"Organization","site_admin":false},"repo":{"id":37056954,"node_id":"MDEwOlJlcG9zaXRvcnkzNzA1Njk1NA==","name":"react-sticky-box","full_name":"codecks-io/react-sticky-box","private":false,"owner":{"login":"codecks-io","id":23637080,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIzNjM3MDgw","avatar_url":"https://avatars0.githubusercontent.com/u/23637080?v=4","gravatar_id":"","url":"https://api.github.com/users/codecks-io","html_url":"https://github.com/codecks-io","followers_url":"https://api.github.com/users/codecks-io/followers","following_url":"https://api.github.com/users/codecks-io/following{/other_user}","gists_url":"https://api.github.com/users/codecks-io/gists{/gist_id}","starred_url":"https://api.github.com/users/codecks-io/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codecks-io/subscriptions","organizations_url":"https://api.github.com/users/codecks-io/orgs","repos_url":"https://api.github.com/users/codecks-io/repos","events_url":"https://api.github.com/users/codecks-io/events{/privacy}","received_events_url":"https://api.github.com/users/codecks-io/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/codecks-io/react-sticky-box","description":"Sticky scrolling for all contents of all sizes","fork":false,"url":"https://api.github.com/repos/codecks-io/react-sticky-box","forks_url":"https://api.github.com/repos/codecks-io/react-sticky-box/forks","keys_url":"https://api.github.com/repos/codecks-io/react-sticky-box/keys{/key_id}","collaborators_url":"https://api.github.com/repos/codecks-io/react-sticky-box/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/codecks-io/react-sticky-box/teams","hooks_url":"https://api.github.com/repos/codecks-io/react-sticky-box/hooks","issue_events_url":"https://api.github.com/repos/codecks-io/react-sticky-box/issues/events{/number}","events_url":"https://api.github.com/repos/codecks-io/react-sticky-box/events","assignees_url":"https://api.github.com/repos/codecks-io/react-sticky-box/assignees{/user}","branches_url":"https://api.github.com/repos/codecks-io/react-sticky-box/branches{/branch}","tags_url":"https://api.github.com/repos/codecks-io/react-sticky-box/tags","blobs_url":"https://api.github.com/repos/codecks-io/react-sticky-box/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/codecks-io/react-sticky-box/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/codecks-io/react-sticky-box/git/refs{/sha}","trees_url":"https://api.github.com/repos/codecks-io/react-sticky-box/git/trees{/sha}","statuses_url":"https://api.github.com/repos/codecks-io/react-sticky-box/statuses/{sha}","languages_url":"https://api.github.com/repos/codecks-io/react-sticky-box/languages","stargazers_url":"https://api.github.com/repos/codecks-io/react-sticky-box/stargazers","contributors_url":"https://api.github.com/repos/codecks-io/react-sticky-box/contributors","subscribers_url":"https://api.github.com/repos/codecks-io/react-sticky-box/subscribers","subscription_url":"https://api.github.com/repos/codecks-io/react-sticky-box/subscription","commits_url":"https://api.github.com/repos/codecks-io/react-sticky-box/commits{/sha}","git_commits_url":"https://api.github.com/repos/codecks-io/react-sticky-box/git/commits{/sha}","comments_url":"https://api.github.com/repos/codecks-io/react-sticky-box/comments{/number}","issue_comment_url":"https://api.github.com/repos/codecks-io/react-sticky-box/issues/comments{/number}","contents_url":"https://api.github.com/repos/codecks-io/react-sticky-box/contents/{+path}","compare_url":"https://api.github.com/repos/codecks-io/react-sticky-box/compare/{base}...{head}","merges_url":"https://api.github.com/repos/codecks-io/react-sticky-box/merges","archive_url":"https://api.github.com/repos/codecks-io/react-sticky-box/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/codecks-io/react-sticky-box/downloads","issues_url":"https://api.github.com/repos/codecks-io/react-sticky-box/issues{/number}","pulls_url":"https://api.github.com/repos/codecks-io/react-sticky-box/pulls{/number}","milestones_url":"https://api.github.com/repos/codecks-io/react-sticky-box/milestones{/number}","notifications_url":"https://api.github.com/repos/codecks-io/react-sticky-box/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/codecks-io/react-sticky-box/labels{/name}","releases_url":"https://api.github.com/repos/codecks-io/react-sticky-box/releases{/id}","deployments_url":"https://api.github.com/repos/codecks-io/react-sticky-box/deployments","created_at":"2015-06-08T09:09:56Z","updated_at":"2018-10-18T13:34:44Z","pushed_at":"2018-10-18T13:34:42Z","git_url":"git://github.com/codecks-io/react-sticky-box.git","ssh_url":"git@github.com:codecks-io/react-sticky-box.git","clone_url":"https://github.com/codecks-io/react-sticky-box.git","svn_url":"https://github.com/codecks-io/react-sticky-box","homepage":"https://react-sticky-box.codecks.io/","size":310,"stargazers_count":50,"watchers_count":50,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":11,"mirror_url":null,"archived":false,"open_issues_count":3,"license":null,"forks":11,"open_issues":3,"watchers":50,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/codecks-io/react-sticky-box/pulls/25"},"html":{"href":"https://github.com/codecks-io/react-sticky-box/pull/25"},"issue":{"href":"https://api.github.com/repos/codecks-io/react-sticky-box/issues/25"},"comments":{"href":"https://api.github.com/repos/codecks-io/react-sticky-box/issues/25/comments"},"review_comments":{"href":"https://api.github.com/repos/codecks-io/react-sticky-box/pulls/25/comments"},"review_comment":{"href":"https://api.github.com/repos/codecks-io/react-sticky-box/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/codecks-io/react-sticky-box/pulls/25/commits"},"statuses":{"href":"https://api.github.com/repos/codecks-io/react-sticky-box/statuses/a24c57440e91960b1f57b6a84c67ee8c970c3e17"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":48,"deletions":27,"changed_files":1}}
{"actor":{"display_login":"jorgearanda"}}