{"action":"opened","number":125,"pull_request":{"url":"https://api.github.com/repos/leafo/sticky-kit/pulls/125","id":43877143,"html_url":"https://github.com/leafo/sticky-kit/pull/125","diff_url":"https://github.com/leafo/sticky-kit/pull/125.diff","patch_url":"https://github.com/leafo/sticky-kit/pull/125.patch","issue_url":"https://api.github.com/repos/leafo/sticky-kit/issues/125","number":125,"state":"open","locked":false,"title":"Update last_scroll_height after the element was made sticky.","user":{"login":"BigWhale","id":8624224,"avatar_url":"https://avatars.githubusercontent.com/u/8624224?v=3","gravatar_id":"","url":"https://api.github.com/users/BigWhale","html_url":"https://github.com/BigWhale","followers_url":"https://api.github.com/users/BigWhale/followers","following_url":"https://api.github.com/users/BigWhale/following{/other_user}","gists_url":"https://api.github.com/users/BigWhale/gists{/gist_id}","starred_url":"https://api.github.com/users/BigWhale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BigWhale/subscriptions","organizations_url":"https://api.github.com/users/BigWhale/orgs","repos_url":"https://api.github.com/users/BigWhale/repos","events_url":"https://api.github.com/users/BigWhale/events{/privacy}","received_events_url":"https://api.github.com/users/BigWhale/received_events","type":"User","site_admin":false},"body":"If the height of the element changes when it's made sticky it will cause the last_scroll_height !== doc.height() check fail and recalc() will be firing on every tick().\r\n\r\nIf last_scroll_height is updated right after the element is made sticky and the css class is attached to it, everything works as it should.","created_at":"2015-09-01T13:47:27Z","updated_at":"2015-09-01T13:47:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/leafo/sticky-kit/pulls/125/commits","review_comments_url":"https://api.github.com/repos/leafo/sticky-kit/pulls/125/comments","review_comment_url":"https://api.github.com/repos/leafo/sticky-kit/pulls/comments{/number}","comments_url":"https://api.github.com/repos/leafo/sticky-kit/issues/125/comments","statuses_url":"https://api.github.com/repos/leafo/sticky-kit/statuses/70a9f8dbbb59bf143bb72f968baa03fcc662196d","head":{"label":"BigWhale:master","ref":"master","sha":"70a9f8dbbb59bf143bb72f968baa03fcc662196d","user":{"login":"BigWhale","id":8624224,"avatar_url":"https://avatars.githubusercontent.com/u/8624224?v=3","gravatar_id":"","url":"https://api.github.com/users/BigWhale","html_url":"https://github.com/BigWhale","followers_url":"https://api.github.com/users/BigWhale/followers","following_url":"https://api.github.com/users/BigWhale/following{/other_user}","gists_url":"https://api.github.com/users/BigWhale/gists{/gist_id}","starred_url":"https://api.github.com/users/BigWhale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BigWhale/subscriptions","organizations_url":"https://api.github.com/users/BigWhale/orgs","repos_url":"https://api.github.com/users/BigWhale/repos","events_url":"https://api.github.com/users/BigWhale/events{/privacy}","received_events_url":"https://api.github.com/users/BigWhale/received_events","type":"User","site_admin":false},"repo":{"id":41740179,"name":"sticky-kit","full_name":"BigWhale/sticky-kit","owner":{"login":"BigWhale","id":8624224,"avatar_url":"https://avatars.githubusercontent.com/u/8624224?v=3","gravatar_id":"","url":"https://api.github.com/users/BigWhale","html_url":"https://github.com/BigWhale","followers_url":"https://api.github.com/users/BigWhale/followers","following_url":"https://api.github.com/users/BigWhale/following{/other_user}","gists_url":"https://api.github.com/users/BigWhale/gists{/gist_id}","starred_url":"https://api.github.com/users/BigWhale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BigWhale/subscriptions","organizations_url":"https://api.github.com/users/BigWhale/orgs","repos_url":"https://api.github.com/users/BigWhale/repos","events_url":"https://api.github.com/users/BigWhale/events{/privacy}","received_events_url":"https://api.github.com/users/BigWhale/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/BigWhale/sticky-kit","description":"A jQuery plugin for creating smart sticky elements","fork":true,"url":"https://api.github.com/repos/BigWhale/sticky-kit","forks_url":"https://api.github.com/repos/BigWhale/sticky-kit/forks","keys_url":"https://api.github.com/repos/BigWhale/sticky-kit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/BigWhale/sticky-kit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/BigWhale/sticky-kit/teams","hooks_url":"https://api.github.com/repos/BigWhale/sticky-kit/hooks","issue_events_url":"https://api.github.com/repos/BigWhale/sticky-kit/issues/events{/number}","events_url":"https://api.github.com/repos/BigWhale/sticky-kit/events","assignees_url":"https://api.github.com/repos/BigWhale/sticky-kit/assignees{/user}","branches_url":"https://api.github.com/repos/BigWhale/sticky-kit/branches{/branch}","tags_url":"https://api.github.com/repos/BigWhale/sticky-kit/tags","blobs_url":"https://api.github.com/repos/BigWhale/sticky-kit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/BigWhale/sticky-kit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/BigWhale/sticky-kit/git/refs{/sha}","trees_url":"https://api.github.com/repos/BigWhale/sticky-kit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/BigWhale/sticky-kit/statuses/{sha}","languages_url":"https://api.github.com/repos/BigWhale/sticky-kit/languages","stargazers_url":"https://api.github.com/repos/BigWhale/sticky-kit/stargazers","contributors_url":"https://api.github.com/repos/BigWhale/sticky-kit/contributors","subscribers_url":"https://api.github.com/repos/BigWhale/sticky-kit/subscribers","subscription_url":"https://api.github.com/repos/BigWhale/sticky-kit/subscription","commits_url":"https://api.github.com/repos/BigWhale/sticky-kit/commits{/sha}","git_commits_url":"https://api.github.com/repos/BigWhale/sticky-kit/git/commits{/sha}","comments_url":"https://api.github.com/repos/BigWhale/sticky-kit/comments{/number}","issue_comment_url":"https://api.github.com/repos/BigWhale/sticky-kit/issues/comments{/number}","contents_url":"https://api.github.com/repos/BigWhale/sticky-kit/contents/{+path}","compare_url":"https://api.github.com/repos/BigWhale/sticky-kit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/BigWhale/sticky-kit/merges","archive_url":"https://api.github.com/repos/BigWhale/sticky-kit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/BigWhale/sticky-kit/downloads","issues_url":"https://api.github.com/repos/BigWhale/sticky-kit/issues{/number}","pulls_url":"https://api.github.com/repos/BigWhale/sticky-kit/pulls{/number}","milestones_url":"https://api.github.com/repos/BigWhale/sticky-kit/milestones{/number}","notifications_url":"https://api.github.com/repos/BigWhale/sticky-kit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/BigWhale/sticky-kit/labels{/name}","releases_url":"https://api.github.com/repos/BigWhale/sticky-kit/releases{/id}","created_at":"2015-09-01T13:27:14Z","updated_at":"2015-09-01T13:27:14Z","pushed_at":"2015-09-01T13:39:33Z","git_url":"git://github.com/BigWhale/sticky-kit.git","ssh_url":"git@github.com:BigWhale/sticky-kit.git","clone_url":"https://github.com/BigWhale/sticky-kit.git","svn_url":"https://github.com/BigWhale/sticky-kit","homepage":"http://leafo.net/sticky-kit","size":910,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"leafo:master","ref":"master","sha":"587593f992882e10df97dda26fda0ce184700d0e","user":{"login":"leafo","id":15198,"avatar_url":"https://avatars.githubusercontent.com/u/15198?v=3","gravatar_id":"","url":"https://api.github.com/users/leafo","html_url":"https://github.com/leafo","followers_url":"https://api.github.com/users/leafo/followers","following_url":"https://api.github.com/users/leafo/following{/other_user}","gists_url":"https://api.github.com/users/leafo/gists{/gist_id}","starred_url":"https://api.github.com/users/leafo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leafo/subscriptions","organizations_url":"https://api.github.com/users/leafo/orgs","repos_url":"https://api.github.com/users/leafo/repos","events_url":"https://api.github.com/users/leafo/events{/privacy}","received_events_url":"https://api.github.com/users/leafo/received_events","type":"User","site_admin":false},"repo":{"id":11758247,"name":"sticky-kit","full_name":"leafo/sticky-kit","owner":{"login":"leafo","id":15198,"avatar_url":"https://avatars.githubusercontent.com/u/15198?v=3","gravatar_id":"","url":"https://api.github.com/users/leafo","html_url":"https://github.com/leafo","followers_url":"https://api.github.com/users/leafo/followers","following_url":"https://api.github.com/users/leafo/following{/other_user}","gists_url":"https://api.github.com/users/leafo/gists{/gist_id}","starred_url":"https://api.github.com/users/leafo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leafo/subscriptions","organizations_url":"https://api.github.com/users/leafo/orgs","repos_url":"https://api.github.com/users/leafo/repos","events_url":"https://api.github.com/users/leafo/events{/privacy}","received_events_url":"https://api.github.com/users/leafo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/leafo/sticky-kit","description":"A jQuery plugin for creating smart sticky elements","fork":false,"url":"https://api.github.com/repos/leafo/sticky-kit","forks_url":"https://api.github.com/repos/leafo/sticky-kit/forks","keys_url":"https://api.github.com/repos/leafo/sticky-kit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/leafo/sticky-kit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/leafo/sticky-kit/teams","hooks_url":"https://api.github.com/repos/leafo/sticky-kit/hooks","issue_events_url":"https://api.github.com/repos/leafo/sticky-kit/issues/events{/number}","events_url":"https://api.github.com/repos/leafo/sticky-kit/events","assignees_url":"https://api.github.com/repos/leafo/sticky-kit/assignees{/user}","branches_url":"https://api.github.com/repos/leafo/sticky-kit/branches{/branch}","tags_url":"https://api.github.com/repos/leafo/sticky-kit/tags","blobs_url":"https://api.github.com/repos/leafo/sticky-kit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/leafo/sticky-kit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/leafo/sticky-kit/git/refs{/sha}","trees_url":"https://api.github.com/repos/leafo/sticky-kit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/leafo/sticky-kit/statuses/{sha}","languages_url":"https://api.github.com/repos/leafo/sticky-kit/languages","stargazers_url":"https://api.github.com/repos/leafo/sticky-kit/stargazers","contributors_url":"https://api.github.com/repos/leafo/sticky-kit/contributors","subscribers_url":"https://api.github.com/repos/leafo/sticky-kit/subscribers","subscription_url":"https://api.github.com/repos/leafo/sticky-kit/subscription","commits_url":"https://api.github.com/repos/leafo/sticky-kit/commits{/sha}","git_commits_url":"https://api.github.com/repos/leafo/sticky-kit/git/commits{/sha}","comments_url":"https://api.github.com/repos/leafo/sticky-kit/comments{/number}","issue_comment_url":"https://api.github.com/repos/leafo/sticky-kit/issues/comments{/number}","contents_url":"https://api.github.com/repos/leafo/sticky-kit/contents/{+path}","compare_url":"https://api.github.com/repos/leafo/sticky-kit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/leafo/sticky-kit/merges","archive_url":"https://api.github.com/repos/leafo/sticky-kit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/leafo/sticky-kit/downloads","issues_url":"https://api.github.com/repos/leafo/sticky-kit/issues{/number}","pulls_url":"https://api.github.com/repos/leafo/sticky-kit/pulls{/number}","milestones_url":"https://api.github.com/repos/leafo/sticky-kit/milestones{/number}","notifications_url":"https://api.github.com/repos/leafo/sticky-kit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/leafo/sticky-kit/labels{/name}","releases_url":"https://api.github.com/repos/leafo/sticky-kit/releases{/id}","created_at":"2013-07-30T06:33:45Z","updated_at":"2015-09-01T09:14:00Z","pushed_at":"2015-09-01T13:47:27Z","git_url":"git://github.com/leafo/sticky-kit.git","ssh_url":"git@github.com:leafo/sticky-kit.git","clone_url":"https://github.com/leafo/sticky-kit.git","svn_url":"https://github.com/leafo/sticky-kit","homepage":"http://leafo.net/sticky-kit","size":910,"stargazers_count":1320,"watchers_count":1320,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":245,"mirror_url":null,"open_issues_count":63,"forks":245,"open_issues":63,"watchers":1320,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/leafo/sticky-kit/pulls/125"},"html":{"href":"https://github.com/leafo/sticky-kit/pull/125"},"issue":{"href":"https://api.github.com/repos/leafo/sticky-kit/issues/125"},"comments":{"href":"https://api.github.com/repos/leafo/sticky-kit/issues/125/comments"},"review_comments":{"href":"https://api.github.com/repos/leafo/sticky-kit/pulls/125/comments"},"review_comment":{"href":"https://api.github.com/repos/leafo/sticky-kit/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/leafo/sticky-kit/pulls/125/commits"},"statuses":{"href":"https://api.github.com/repos/leafo/sticky-kit/statuses/70a9f8dbbb59bf143bb72f968baa03fcc662196d"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":0,"changed_files":1}}