{"action":"opened","number":26,"pull_request":{"url":"https://api.github.com/repos/makotot/react-scrollspy/pulls/26","id":78715004,"html_url":"https://github.com/makotot/react-scrollspy/pull/26","diff_url":"https://github.com/makotot/react-scrollspy/pull/26.diff","patch_url":"https://github.com/makotot/react-scrollspy/pull/26.patch","issue_url":"https://api.github.com/repos/makotot/react-scrollspy/issues/26","number":26,"state":"open","locked":false,"title":"add check for bottom","user":{"login":"anzzstuff","id":9848067,"avatar_url":"https://avatars.githubusercontent.com/u/9848067?v=3","gravatar_id":"","url":"https://api.github.com/users/anzzstuff","html_url":"https://github.com/anzzstuff","followers_url":"https://api.github.com/users/anzzstuff/followers","following_url":"https://api.github.com/users/anzzstuff/following{/other_user}","gists_url":"https://api.github.com/users/anzzstuff/gists{/gist_id}","starred_url":"https://api.github.com/users/anzzstuff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anzzstuff/subscriptions","organizations_url":"https://api.github.com/users/anzzstuff/orgs","repos_url":"https://api.github.com/users/anzzstuff/repos","events_url":"https://api.github.com/users/anzzstuff/events{/privacy}","received_events_url":"https://api.github.com/users/anzzstuff/received_events","type":"User","site_admin":false},"body":"In some cases, the last element can be very short and will never be the only visible element. That causes some awkward situations when you click the last link on a navbar, it doesn't get activated.\r\n\r\nSo, I added a check that if we are at the bottom of the page, the last element in the items array will be the active one. We could put this check behind a prop trigger but I don't know if it is necessary?","created_at":"2016-07-25T16:52:09Z","updated_at":"2016-07-25T16:52:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/makotot/react-scrollspy/pulls/26/commits","review_comments_url":"https://api.github.com/repos/makotot/react-scrollspy/pulls/26/comments","review_comment_url":"https://api.github.com/repos/makotot/react-scrollspy/pulls/comments{/number}","comments_url":"https://api.github.com/repos/makotot/react-scrollspy/issues/26/comments","statuses_url":"https://api.github.com/repos/makotot/react-scrollspy/statuses/56be3c93b538f4fa691ebf533f3b778808d80d40","head":{"label":"anzzstuff:favor-last","ref":"favor-last","sha":"56be3c93b538f4fa691ebf533f3b778808d80d40","user":{"login":"anzzstuff","id":9848067,"avatar_url":"https://avatars.githubusercontent.com/u/9848067?v=3","gravatar_id":"","url":"https://api.github.com/users/anzzstuff","html_url":"https://github.com/anzzstuff","followers_url":"https://api.github.com/users/anzzstuff/followers","following_url":"https://api.github.com/users/anzzstuff/following{/other_user}","gists_url":"https://api.github.com/users/anzzstuff/gists{/gist_id}","starred_url":"https://api.github.com/users/anzzstuff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anzzstuff/subscriptions","organizations_url":"https://api.github.com/users/anzzstuff/orgs","repos_url":"https://api.github.com/users/anzzstuff/repos","events_url":"https://api.github.com/users/anzzstuff/events{/privacy}","received_events_url":"https://api.github.com/users/anzzstuff/received_events","type":"User","site_admin":false},"repo":{"id":64085943,"name":"react-scrollspy","full_name":"anzzstuff/react-scrollspy","owner":{"login":"anzzstuff","id":9848067,"avatar_url":"https://avatars.githubusercontent.com/u/9848067?v=3","gravatar_id":"","url":"https://api.github.com/users/anzzstuff","html_url":"https://github.com/anzzstuff","followers_url":"https://api.github.com/users/anzzstuff/followers","following_url":"https://api.github.com/users/anzzstuff/following{/other_user}","gists_url":"https://api.github.com/users/anzzstuff/gists{/gist_id}","starred_url":"https://api.github.com/users/anzzstuff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anzzstuff/subscriptions","organizations_url":"https://api.github.com/users/anzzstuff/orgs","repos_url":"https://api.github.com/users/anzzstuff/repos","events_url":"https://api.github.com/users/anzzstuff/events{/privacy}","received_events_url":"https://api.github.com/users/anzzstuff/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/anzzstuff/react-scrollspy","description":"react scrollspy component","fork":true,"url":"https://api.github.com/repos/anzzstuff/react-scrollspy","forks_url":"https://api.github.com/repos/anzzstuff/react-scrollspy/forks","keys_url":"https://api.github.com/repos/anzzstuff/react-scrollspy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/anzzstuff/react-scrollspy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/anzzstuff/react-scrollspy/teams","hooks_url":"https://api.github.com/repos/anzzstuff/react-scrollspy/hooks","issue_events_url":"https://api.github.com/repos/anzzstuff/react-scrollspy/issues/events{/number}","events_url":"https://api.github.com/repos/anzzstuff/react-scrollspy/events","assignees_url":"https://api.github.com/repos/anzzstuff/react-scrollspy/assignees{/user}","branches_url":"https://api.github.com/repos/anzzstuff/react-scrollspy/branches{/branch}","tags_url":"https://api.github.com/repos/anzzstuff/react-scrollspy/tags","blobs_url":"https://api.github.com/repos/anzzstuff/react-scrollspy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/anzzstuff/react-scrollspy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/anzzstuff/react-scrollspy/git/refs{/sha}","trees_url":"https://api.github.com/repos/anzzstuff/react-scrollspy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/anzzstuff/react-scrollspy/statuses/{sha}","languages_url":"https://api.github.com/repos/anzzstuff/react-scrollspy/languages","stargazers_url":"https://api.github.com/repos/anzzstuff/react-scrollspy/stargazers","contributors_url":"https://api.github.com/repos/anzzstuff/react-scrollspy/contributors","subscribers_url":"https://api.github.com/repos/anzzstuff/react-scrollspy/subscribers","subscription_url":"https://api.github.com/repos/anzzstuff/react-scrollspy/subscription","commits_url":"https://api.github.com/repos/anzzstuff/react-scrollspy/commits{/sha}","git_commits_url":"https://api.github.com/repos/anzzstuff/react-scrollspy/git/commits{/sha}","comments_url":"https://api.github.com/repos/anzzstuff/react-scrollspy/comments{/number}","issue_comment_url":"https://api.github.com/repos/anzzstuff/react-scrollspy/issues/comments{/number}","contents_url":"https://api.github.com/repos/anzzstuff/react-scrollspy/contents/{+path}","compare_url":"https://api.github.com/repos/anzzstuff/react-scrollspy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/anzzstuff/react-scrollspy/merges","archive_url":"https://api.github.com/repos/anzzstuff/react-scrollspy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/anzzstuff/react-scrollspy/downloads","issues_url":"https://api.github.com/repos/anzzstuff/react-scrollspy/issues{/number}","pulls_url":"https://api.github.com/repos/anzzstuff/react-scrollspy/pulls{/number}","milestones_url":"https://api.github.com/repos/anzzstuff/react-scrollspy/milestones{/number}","notifications_url":"https://api.github.com/repos/anzzstuff/react-scrollspy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/anzzstuff/react-scrollspy/labels{/name}","releases_url":"https://api.github.com/repos/anzzstuff/react-scrollspy/releases{/id}","deployments_url":"https://api.github.com/repos/anzzstuff/react-scrollspy/deployments","created_at":"2016-07-24T21:14:17Z","updated_at":"2016-07-24T21:14:18Z","pushed_at":"2016-07-25T16:47:42Z","git_url":"git://github.com/anzzstuff/react-scrollspy.git","ssh_url":"git@github.com:anzzstuff/react-scrollspy.git","clone_url":"https://github.com/anzzstuff/react-scrollspy.git","svn_url":"https://github.com/anzzstuff/react-scrollspy","homepage":"https://www.npmjs.com/package/react-scrollspy","size":52,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"makotot:master","ref":"master","sha":"055c464ceec473c14f8539780bac715c677dc338","user":{"login":"makotot","id":1129027,"avatar_url":"https://avatars.githubusercontent.com/u/1129027?v=3","gravatar_id":"","url":"https://api.github.com/users/makotot","html_url":"https://github.com/makotot","followers_url":"https://api.github.com/users/makotot/followers","following_url":"https://api.github.com/users/makotot/following{/other_user}","gists_url":"https://api.github.com/users/makotot/gists{/gist_id}","starred_url":"https://api.github.com/users/makotot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/makotot/subscriptions","organizations_url":"https://api.github.com/users/makotot/orgs","repos_url":"https://api.github.com/users/makotot/repos","events_url":"https://api.github.com/users/makotot/events{/privacy}","received_events_url":"https://api.github.com/users/makotot/received_events","type":"User","site_admin":false},"repo":{"id":39779432,"name":"react-scrollspy","full_name":"makotot/react-scrollspy","owner":{"login":"makotot","id":1129027,"avatar_url":"https://avatars.githubusercontent.com/u/1129027?v=3","gravatar_id":"","url":"https://api.github.com/users/makotot","html_url":"https://github.com/makotot","followers_url":"https://api.github.com/users/makotot/followers","following_url":"https://api.github.com/users/makotot/following{/other_user}","gists_url":"https://api.github.com/users/makotot/gists{/gist_id}","starred_url":"https://api.github.com/users/makotot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/makotot/subscriptions","organizations_url":"https://api.github.com/users/makotot/orgs","repos_url":"https://api.github.com/users/makotot/repos","events_url":"https://api.github.com/users/makotot/events{/privacy}","received_events_url":"https://api.github.com/users/makotot/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/makotot/react-scrollspy","description":"react scrollspy component","fork":false,"url":"https://api.github.com/repos/makotot/react-scrollspy","forks_url":"https://api.github.com/repos/makotot/react-scrollspy/forks","keys_url":"https://api.github.com/repos/makotot/react-scrollspy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/makotot/react-scrollspy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/makotot/react-scrollspy/teams","hooks_url":"https://api.github.com/repos/makotot/react-scrollspy/hooks","issue_events_url":"https://api.github.com/repos/makotot/react-scrollspy/issues/events{/number}","events_url":"https://api.github.com/repos/makotot/react-scrollspy/events","assignees_url":"https://api.github.com/repos/makotot/react-scrollspy/assignees{/user}","branches_url":"https://api.github.com/repos/makotot/react-scrollspy/branches{/branch}","tags_url":"https://api.github.com/repos/makotot/react-scrollspy/tags","blobs_url":"https://api.github.com/repos/makotot/react-scrollspy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/makotot/react-scrollspy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/makotot/react-scrollspy/git/refs{/sha}","trees_url":"https://api.github.com/repos/makotot/react-scrollspy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/makotot/react-scrollspy/statuses/{sha}","languages_url":"https://api.github.com/repos/makotot/react-scrollspy/languages","stargazers_url":"https://api.github.com/repos/makotot/react-scrollspy/stargazers","contributors_url":"https://api.github.com/repos/makotot/react-scrollspy/contributors","subscribers_url":"https://api.github.com/repos/makotot/react-scrollspy/subscribers","subscription_url":"https://api.github.com/repos/makotot/react-scrollspy/subscription","commits_url":"https://api.github.com/repos/makotot/react-scrollspy/commits{/sha}","git_commits_url":"https://api.github.com/repos/makotot/react-scrollspy/git/commits{/sha}","comments_url":"https://api.github.com/repos/makotot/react-scrollspy/comments{/number}","issue_comment_url":"https://api.github.com/repos/makotot/react-scrollspy/issues/comments{/number}","contents_url":"https://api.github.com/repos/makotot/react-scrollspy/contents/{+path}","compare_url":"https://api.github.com/repos/makotot/react-scrollspy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/makotot/react-scrollspy/merges","archive_url":"https://api.github.com/repos/makotot/react-scrollspy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/makotot/react-scrollspy/downloads","issues_url":"https://api.github.com/repos/makotot/react-scrollspy/issues{/number}","pulls_url":"https://api.github.com/repos/makotot/react-scrollspy/pulls{/number}","milestones_url":"https://api.github.com/repos/makotot/react-scrollspy/milestones{/number}","notifications_url":"https://api.github.com/repos/makotot/react-scrollspy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/makotot/react-scrollspy/labels{/name}","releases_url":"https://api.github.com/repos/makotot/react-scrollspy/releases{/id}","deployments_url":"https://api.github.com/repos/makotot/react-scrollspy/deployments","created_at":"2015-07-27T14:39:20Z","updated_at":"2016-07-24T21:13:50Z","pushed_at":"2016-07-25T16:52:09Z","git_url":"git://github.com/makotot/react-scrollspy.git","ssh_url":"git@github.com:makotot/react-scrollspy.git","clone_url":"https://github.com/makotot/react-scrollspy.git","svn_url":"https://github.com/makotot/react-scrollspy","homepage":"https://www.npmjs.com/package/react-scrollspy","size":53,"stargazers_count":23,"watchers_count":23,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":11,"mirror_url":null,"open_issues_count":5,"forks":11,"open_issues":5,"watchers":23,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/makotot/react-scrollspy/pulls/26"},"html":{"href":"https://github.com/makotot/react-scrollspy/pull/26"},"issue":{"href":"https://api.github.com/repos/makotot/react-scrollspy/issues/26"},"comments":{"href":"https://api.github.com/repos/makotot/react-scrollspy/issues/26/comments"},"review_comments":{"href":"https://api.github.com/repos/makotot/react-scrollspy/pulls/26/comments"},"review_comment":{"href":"https://api.github.com/repos/makotot/react-scrollspy/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/makotot/react-scrollspy/pulls/26/commits"},"statuses":{"href":"https://api.github.com/repos/makotot/react-scrollspy/statuses/56be3c93b538f4fa691ebf533f3b778808d80d40"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":19,"deletions":0,"changed_files":1}}
{"actor":{"display_login":"anzzstuff"}}