{"action":"created","comment":{"url":"https://api.github.com/repos/yahoo/react-stickynode/pulls/comments/60332739","id":60332739,"diff_hunk":"@@ -380,4 +380,29 @@ describe('Sticky', function () {\n         shouldBeFixedAt(inner, -532);\n         expect(outer.className).to.contain('active');\n     });\n+\n+    it('should allow the sticky functionality to be toggled off', function () {\n+      var ReactTestUtils = require('react-addons-test-utils');","path":"tests/unit/Sticky-test.js","position":null,"original_position":6,"commit_id":"80c16c9a3e79770985bd949bd1dedef03a9f4ed1","original_commit_id":"b46b28c2582f87894911f32775d04deadf8e38dd","user":{"login":"egadstar","id":1434274,"avatar_url":"https://avatars.githubusercontent.com/u/1434274?v=3","gravatar_id":"","url":"https://api.github.com/users/egadstar","html_url":"https://github.com/egadstar","followers_url":"https://api.github.com/users/egadstar/followers","following_url":"https://api.github.com/users/egadstar/following{/other_user}","gists_url":"https://api.github.com/users/egadstar/gists{/gist_id}","starred_url":"https://api.github.com/users/egadstar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/egadstar/subscriptions","organizations_url":"https://api.github.com/users/egadstar/orgs","repos_url":"https://api.github.com/users/egadstar/repos","events_url":"https://api.github.com/users/egadstar/events{/privacy}","received_events_url":"https://api.github.com/users/egadstar/received_events","type":"User","site_admin":false},"body":"It's updated.","created_at":"2016-04-20T00:01:42Z","updated_at":"2016-04-20T00:01:42Z","html_url":"https://github.com/yahoo/react-stickynode/pull/31#discussion_r60332739","pull_request_url":"https://api.github.com/repos/yahoo/react-stickynode/pulls/31","_links":{"self":{"href":"https://api.github.com/repos/yahoo/react-stickynode/pulls/comments/60332739"},"html":{"href":"https://github.com/yahoo/react-stickynode/pull/31#discussion_r60332739"},"pull_request":{"href":"https://api.github.com/repos/yahoo/react-stickynode/pulls/31"}}},"pull_request":{"url":"https://api.github.com/repos/yahoo/react-stickynode/pulls/31","id":66669402,"html_url":"https://github.com/yahoo/react-stickynode/pull/31","diff_url":"https://github.com/yahoo/react-stickynode/pull/31.diff","patch_url":"https://github.com/yahoo/react-stickynode/pull/31.patch","issue_url":"https://api.github.com/repos/yahoo/react-stickynode/issues/31","number":31,"state":"open","locked":false,"title":"Toggling sticky behavior","user":{"login":"egadstar","id":1434274,"avatar_url":"https://avatars.githubusercontent.com/u/1434274?v=3","gravatar_id":"","url":"https://api.github.com/users/egadstar","html_url":"https://github.com/egadstar","followers_url":"https://api.github.com/users/egadstar/followers","following_url":"https://api.github.com/users/egadstar/following{/other_user}","gists_url":"https://api.github.com/users/egadstar/gists{/gist_id}","starred_url":"https://api.github.com/users/egadstar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/egadstar/subscriptions","organizations_url":"https://api.github.com/users/egadstar/orgs","repos_url":"https://api.github.com/users/egadstar/repos","events_url":"https://api.github.com/users/egadstar/events{/privacy}","received_events_url":"https://api.github.com/users/egadstar/received_events","type":"User","site_admin":false},"body":"This change allows the sticky behavior to be toggled on and off via the enabled property. We had a use case where a toolbar was desired to be sticky only if a batching function was enabled for a list of items. Setting the enabled prop to true initially would allow the sticky to be toggle; however, without being able to call update or reset, lead to a broken feeling experience.","created_at":"2016-04-15T16:27:16Z","updated_at":"2016-04-20T00:01:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d6450e56f726e542a6690b2e1b6f1ba7d1c015c5","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/yahoo/react-stickynode/pulls/31/commits","review_comments_url":"https://api.github.com/repos/yahoo/react-stickynode/pulls/31/comments","review_comment_url":"https://api.github.com/repos/yahoo/react-stickynode/pulls/comments{/number}","comments_url":"https://api.github.com/repos/yahoo/react-stickynode/issues/31/comments","statuses_url":"https://api.github.com/repos/yahoo/react-stickynode/statuses/80c16c9a3e79770985bd949bd1dedef03a9f4ed1","head":{"label":"egadstar:master","ref":"master","sha":"80c16c9a3e79770985bd949bd1dedef03a9f4ed1","user":{"login":"egadstar","id":1434274,"avatar_url":"https://avatars.githubusercontent.com/u/1434274?v=3","gravatar_id":"","url":"https://api.github.com/users/egadstar","html_url":"https://github.com/egadstar","followers_url":"https://api.github.com/users/egadstar/followers","following_url":"https://api.github.com/users/egadstar/following{/other_user}","gists_url":"https://api.github.com/users/egadstar/gists{/gist_id}","starred_url":"https://api.github.com/users/egadstar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/egadstar/subscriptions","organizations_url":"https://api.github.com/users/egadstar/orgs","repos_url":"https://api.github.com/users/egadstar/repos","events_url":"https://api.github.com/users/egadstar/events{/privacy}","received_events_url":"https://api.github.com/users/egadstar/received_events","type":"User","site_admin":false},"repo":{"id":56269584,"name":"react-stickynode","full_name":"egadstar/react-stickynode","owner":{"login":"egadstar","id":1434274,"avatar_url":"https://avatars.githubusercontent.com/u/1434274?v=3","gravatar_id":"","url":"https://api.github.com/users/egadstar","html_url":"https://github.com/egadstar","followers_url":"https://api.github.com/users/egadstar/followers","following_url":"https://api.github.com/users/egadstar/following{/other_user}","gists_url":"https://api.github.com/users/egadstar/gists{/gist_id}","starred_url":"https://api.github.com/users/egadstar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/egadstar/subscriptions","organizations_url":"https://api.github.com/users/egadstar/orgs","repos_url":"https://api.github.com/users/egadstar/repos","events_url":"https://api.github.com/users/egadstar/events{/privacy}","received_events_url":"https://api.github.com/users/egadstar/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/egadstar/react-stickynode","description":"A performant and comprehensive React sticky component.","fork":true,"url":"https://api.github.com/repos/egadstar/react-stickynode","forks_url":"https://api.github.com/repos/egadstar/react-stickynode/forks","keys_url":"https://api.github.com/repos/egadstar/react-stickynode/keys{/key_id}","collaborators_url":"https://api.github.com/repos/egadstar/react-stickynode/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/egadstar/react-stickynode/teams","hooks_url":"https://api.github.com/repos/egadstar/react-stickynode/hooks","issue_events_url":"https://api.github.com/repos/egadstar/react-stickynode/issues/events{/number}","events_url":"https://api.github.com/repos/egadstar/react-stickynode/events","assignees_url":"https://api.github.com/repos/egadstar/react-stickynode/assignees{/user}","branches_url":"https://api.github.com/repos/egadstar/react-stickynode/branches{/branch}","tags_url":"https://api.github.com/repos/egadstar/react-stickynode/tags","blobs_url":"https://api.github.com/repos/egadstar/react-stickynode/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/egadstar/react-stickynode/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/egadstar/react-stickynode/git/refs{/sha}","trees_url":"https://api.github.com/repos/egadstar/react-stickynode/git/trees{/sha}","statuses_url":"https://api.github.com/repos/egadstar/react-stickynode/statuses/{sha}","languages_url":"https://api.github.com/repos/egadstar/react-stickynode/languages","stargazers_url":"https://api.github.com/repos/egadstar/react-stickynode/stargazers","contributors_url":"https://api.github.com/repos/egadstar/react-stickynode/contributors","subscribers_url":"https://api.github.com/repos/egadstar/react-stickynode/subscribers","subscription_url":"https://api.github.com/repos/egadstar/react-stickynode/subscription","commits_url":"https://api.github.com/repos/egadstar/react-stickynode/commits{/sha}","git_commits_url":"https://api.github.com/repos/egadstar/react-stickynode/git/commits{/sha}","comments_url":"https://api.github.com/repos/egadstar/react-stickynode/comments{/number}","issue_comment_url":"https://api.github.com/repos/egadstar/react-stickynode/issues/comments{/number}","contents_url":"https://api.github.com/repos/egadstar/react-stickynode/contents/{+path}","compare_url":"https://api.github.com/repos/egadstar/react-stickynode/compare/{base}...{head}","merges_url":"https://api.github.com/repos/egadstar/react-stickynode/merges","archive_url":"https://api.github.com/repos/egadstar/react-stickynode/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/egadstar/react-stickynode/downloads","issues_url":"https://api.github.com/repos/egadstar/react-stickynode/issues{/number}","pulls_url":"https://api.github.com/repos/egadstar/react-stickynode/pulls{/number}","milestones_url":"https://api.github.com/repos/egadstar/react-stickynode/milestones{/number}","notifications_url":"https://api.github.com/repos/egadstar/react-stickynode/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/egadstar/react-stickynode/labels{/name}","releases_url":"https://api.github.com/repos/egadstar/react-stickynode/releases{/id}","deployments_url":"https://api.github.com/repos/egadstar/react-stickynode/deployments","created_at":"2016-04-14T20:57:14Z","updated_at":"2016-04-14T20:57:15Z","pushed_at":"2016-04-20T00:00:43Z","git_url":"git://github.com/egadstar/react-stickynode.git","ssh_url":"git@github.com:egadstar/react-stickynode.git","clone_url":"https://github.com/egadstar/react-stickynode.git","svn_url":"https://github.com/egadstar/react-stickynode","homepage":"","size":73,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"yahoo:master","ref":"master","sha":"ff4a48d147e711f4ad51994625b33ec089610b96","user":{"login":"yahoo","id":16574,"avatar_url":"https://avatars.githubusercontent.com/u/16574?v=3","gravatar_id":"","url":"https://api.github.com/users/yahoo","html_url":"https://github.com/yahoo","followers_url":"https://api.github.com/users/yahoo/followers","following_url":"https://api.github.com/users/yahoo/following{/other_user}","gists_url":"https://api.github.com/users/yahoo/gists{/gist_id}","starred_url":"https://api.github.com/users/yahoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yahoo/subscriptions","organizations_url":"https://api.github.com/users/yahoo/orgs","repos_url":"https://api.github.com/users/yahoo/repos","events_url":"https://api.github.com/users/yahoo/events{/privacy}","received_events_url":"https://api.github.com/users/yahoo/received_events","type":"Organization","site_admin":false},"repo":{"id":45119982,"name":"react-stickynode","full_name":"yahoo/react-stickynode","owner":{"login":"yahoo","id":16574,"avatar_url":"https://avatars.githubusercontent.com/u/16574?v=3","gravatar_id":"","url":"https://api.github.com/users/yahoo","html_url":"https://github.com/yahoo","followers_url":"https://api.github.com/users/yahoo/followers","following_url":"https://api.github.com/users/yahoo/following{/other_user}","gists_url":"https://api.github.com/users/yahoo/gists{/gist_id}","starred_url":"https://api.github.com/users/yahoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yahoo/subscriptions","organizations_url":"https://api.github.com/users/yahoo/orgs","repos_url":"https://api.github.com/users/yahoo/repos","events_url":"https://api.github.com/users/yahoo/events{/privacy}","received_events_url":"https://api.github.com/users/yahoo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/yahoo/react-stickynode","description":"A performant and comprehensive React sticky component.","fork":false,"url":"https://api.github.com/repos/yahoo/react-stickynode","forks_url":"https://api.github.com/repos/yahoo/react-stickynode/forks","keys_url":"https://api.github.com/repos/yahoo/react-stickynode/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yahoo/react-stickynode/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yahoo/react-stickynode/teams","hooks_url":"https://api.github.com/repos/yahoo/react-stickynode/hooks","issue_events_url":"https://api.github.com/repos/yahoo/react-stickynode/issues/events{/number}","events_url":"https://api.github.com/repos/yahoo/react-stickynode/events","assignees_url":"https://api.github.com/repos/yahoo/react-stickynode/assignees{/user}","branches_url":"https://api.github.com/repos/yahoo/react-stickynode/branches{/branch}","tags_url":"https://api.github.com/repos/yahoo/react-stickynode/tags","blobs_url":"https://api.github.com/repos/yahoo/react-stickynode/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yahoo/react-stickynode/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yahoo/react-stickynode/git/refs{/sha}","trees_url":"https://api.github.com/repos/yahoo/react-stickynode/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yahoo/react-stickynode/statuses/{sha}","languages_url":"https://api.github.com/repos/yahoo/react-stickynode/languages","stargazers_url":"https://api.github.com/repos/yahoo/react-stickynode/stargazers","contributors_url":"https://api.github.com/repos/yahoo/react-stickynode/contributors","subscribers_url":"https://api.github.com/repos/yahoo/react-stickynode/subscribers","subscription_url":"https://api.github.com/repos/yahoo/react-stickynode/subscription","commits_url":"https://api.github.com/repos/yahoo/react-stickynode/commits{/sha}","git_commits_url":"https://api.github.com/repos/yahoo/react-stickynode/git/commits{/sha}","comments_url":"https://api.github.com/repos/yahoo/react-stickynode/comments{/number}","issue_comment_url":"https://api.github.com/repos/yahoo/react-stickynode/issues/comments{/number}","contents_url":"https://api.github.com/repos/yahoo/react-stickynode/contents/{+path}","compare_url":"https://api.github.com/repos/yahoo/react-stickynode/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yahoo/react-stickynode/merges","archive_url":"https://api.github.com/repos/yahoo/react-stickynode/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yahoo/react-stickynode/downloads","issues_url":"https://api.github.com/repos/yahoo/react-stickynode/issues{/number}","pulls_url":"https://api.github.com/repos/yahoo/react-stickynode/pulls{/number}","milestones_url":"https://api.github.com/repos/yahoo/react-stickynode/milestones{/number}","notifications_url":"https://api.github.com/repos/yahoo/react-stickynode/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yahoo/react-stickynode/labels{/name}","releases_url":"https://api.github.com/repos/yahoo/react-stickynode/releases{/id}","deployments_url":"https://api.github.com/repos/yahoo/react-stickynode/deployments","created_at":"2015-10-28T14:58:19Z","updated_at":"2016-04-19T08:25:36Z","pushed_at":"2016-04-20T00:00:44Z","git_url":"git://github.com/yahoo/react-stickynode.git","ssh_url":"git@github.com:yahoo/react-stickynode.git","clone_url":"https://github.com/yahoo/react-stickynode.git","svn_url":"https://github.com/yahoo/react-stickynode","homepage":"","size":77,"stargazers_count":38,"watchers_count":38,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":14,"mirror_url":null,"open_issues_count":2,"forks":14,"open_issues":2,"watchers":38,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/yahoo/react-stickynode/pulls/31"},"html":{"href":"https://github.com/yahoo/react-stickynode/pull/31"},"issue":{"href":"https://api.github.com/repos/yahoo/react-stickynode/issues/31"},"comments":{"href":"https://api.github.com/repos/yahoo/react-stickynode/issues/31/comments"},"review_comments":{"href":"https://api.github.com/repos/yahoo/react-stickynode/pulls/31/comments"},"review_comment":{"href":"https://api.github.com/repos/yahoo/react-stickynode/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/yahoo/react-stickynode/pulls/31/commits"},"statuses":{"href":"https://api.github.com/repos/yahoo/react-stickynode/statuses/80c16c9a3e79770985bd949bd1dedef03a9f4ed1"}}}}