{"action":"opened","number":32,"pull_request":{"url":"https://api.github.com/repos/rpearce/react-medium-image-zoom/pulls/32","id":104060601,"html_url":"https://github.com/rpearce/react-medium-image-zoom/pull/32","diff_url":"https://github.com/rpearce/react-medium-image-zoom/pull/32.diff","patch_url":"https://github.com/rpearce/react-medium-image-zoom/pull/32.patch","issue_url":"https://api.github.com/repos/rpearce/react-medium-image-zoom/issues/32","number":32,"state":"open","locked":false,"title":"Fix external isZoomed issue and also fix unzoom being called twice.","user":{"login":"rpearce","id":592876,"avatar_url":"https://avatars.githubusercontent.com/u/592876?v=3","gravatar_id":"","url":"https://api.github.com/users/rpearce","html_url":"https://github.com/rpearce","followers_url":"https://api.github.com/users/rpearce/followers","following_url":"https://api.github.com/users/rpearce/following{/other_user}","gists_url":"https://api.github.com/users/rpearce/gists{/gist_id}","starred_url":"https://api.github.com/users/rpearce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rpearce/subscriptions","organizations_url":"https://api.github.com/users/rpearce/orgs","repos_url":"https://api.github.com/users/rpearce/repos","events_url":"https://api.github.com/users/rpearce/events{/privacy}","received_events_url":"https://api.github.com/users/rpearce/received_events","type":"User","site_admin":false},"body":"* Adds an example that allows you to use the `j` and `k` keys to zoom & unzoom the first image, respectively. \r\n* This example pointed out a bug where using the keys to open/close (aka, external commands) and also the click to open/close got out of sync.\r\n* Also fixes an issue where `componentDidUpdate` was calling the `Zoom` component's `handleUnzoom` which in turn triggers the main component's `handleUnzoom`. \r\n\r\ncc @cbothner \r\n","created_at":"2017-02-01T01:39:02Z","updated_at":"2017-02-01T01:39:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/rpearce/react-medium-image-zoom/pulls/32/commits","review_comments_url":"https://api.github.com/repos/rpearce/react-medium-image-zoom/pulls/32/comments","review_comment_url":"https://api.github.com/repos/rpearce/react-medium-image-zoom/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rpearce/react-medium-image-zoom/issues/32/comments","statuses_url":"https://api.github.com/repos/rpearce/react-medium-image-zoom/statuses/85e8b88cefed77c7b0dcf92134026d12e3e8cee9","head":{"label":"rpearce:fix-isZoomed-and-double-unZoom-call","ref":"fix-isZoomed-and-double-unZoom-call","sha":"85e8b88cefed77c7b0dcf92134026d12e3e8cee9","user":{"login":"rpearce","id":592876,"avatar_url":"https://avatars.githubusercontent.com/u/592876?v=3","gravatar_id":"","url":"https://api.github.com/users/rpearce","html_url":"https://github.com/rpearce","followers_url":"https://api.github.com/users/rpearce/followers","following_url":"https://api.github.com/users/rpearce/following{/other_user}","gists_url":"https://api.github.com/users/rpearce/gists{/gist_id}","starred_url":"https://api.github.com/users/rpearce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rpearce/subscriptions","organizations_url":"https://api.github.com/users/rpearce/orgs","repos_url":"https://api.github.com/users/rpearce/repos","events_url":"https://api.github.com/users/rpearce/events{/privacy}","received_events_url":"https://api.github.com/users/rpearce/received_events","type":"User","site_admin":false},"repo":{"id":63269202,"name":"react-medium-image-zoom","full_name":"rpearce/react-medium-image-zoom","owner":{"login":"rpearce","id":592876,"avatar_url":"https://avatars.githubusercontent.com/u/592876?v=3","gravatar_id":"","url":"https://api.github.com/users/rpearce","html_url":"https://github.com/rpearce","followers_url":"https://api.github.com/users/rpearce/followers","following_url":"https://api.github.com/users/rpearce/following{/other_user}","gists_url":"https://api.github.com/users/rpearce/gists{/gist_id}","starred_url":"https://api.github.com/users/rpearce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rpearce/subscriptions","organizations_url":"https://api.github.com/users/rpearce/orgs","repos_url":"https://api.github.com/users/rpearce/repos","events_url":"https://api.github.com/users/rpearce/events{/privacy}","received_events_url":"https://api.github.com/users/rpearce/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rpearce/react-medium-image-zoom","description":"Medium.com style image zoom for React","fork":false,"url":"https://api.github.com/repos/rpearce/react-medium-image-zoom","forks_url":"https://api.github.com/repos/rpearce/react-medium-image-zoom/forks","keys_url":"https://api.github.com/repos/rpearce/react-medium-image-zoom/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rpearce/react-medium-image-zoom/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rpearce/react-medium-image-zoom/teams","hooks_url":"https://api.github.com/repos/rpearce/react-medium-image-zoom/hooks","issue_events_url":"https://api.github.com/repos/rpearce/react-medium-image-zoom/issues/events{/number}","events_url":"https://api.github.com/repos/rpearce/react-medium-image-zoom/events","assignees_url":"https://api.github.com/repos/rpearce/react-medium-image-zoom/assignees{/user}","branches_url":"https://api.github.com/repos/rpearce/react-medium-image-zoom/branches{/branch}","tags_url":"https://api.github.com/repos/rpearce/react-medium-image-zoom/tags","blobs_url":"https://api.github.com/repos/rpearce/react-medium-image-zoom/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rpearce/react-medium-image-zoom/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rpearce/react-medium-image-zoom/git/refs{/sha}","trees_url":"https://api.github.com/repos/rpearce/react-medium-image-zoom/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rpearce/react-medium-image-zoom/statuses/{sha}","languages_url":"https://api.github.com/repos/rpearce/react-medium-image-zoom/languages","stargazers_url":"https://api.github.com/repos/rpearce/react-medium-image-zoom/stargazers","contributors_url":"https://api.github.com/repos/rpearce/react-medium-image-zoom/contributors","subscribers_url":"https://api.github.com/repos/rpearce/react-medium-image-zoom/subscribers","subscription_url":"https://api.github.com/repos/rpearce/react-medium-image-zoom/subscription","commits_url":"https://api.github.com/repos/rpearce/react-medium-image-zoom/commits{/sha}","git_commits_url":"https://api.github.com/repos/rpearce/react-medium-image-zoom/git/commits{/sha}","comments_url":"https://api.github.com/repos/rpearce/react-medium-image-zoom/comments{/number}","issue_comment_url":"https://api.github.com/repos/rpearce/react-medium-image-zoom/issues/comments{/number}","contents_url":"https://api.github.com/repos/rpearce/react-medium-image-zoom/contents/{+path}","compare_url":"https://api.github.com/repos/rpearce/react-medium-image-zoom/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rpearce/react-medium-image-zoom/merges","archive_url":"https://api.github.com/repos/rpearce/react-medium-image-zoom/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rpearce/react-medium-image-zoom/downloads","issues_url":"https://api.github.com/repos/rpearce/react-medium-image-zoom/issues{/number}","pulls_url":"https://api.github.com/repos/rpearce/react-medium-image-zoom/pulls{/number}","milestones_url":"https://api.github.com/repos/rpearce/react-medium-image-zoom/milestones{/number}","notifications_url":"https://api.github.com/repos/rpearce/react-medium-image-zoom/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rpearce/react-medium-image-zoom/labels{/name}","releases_url":"https://api.github.com/repos/rpearce/react-medium-image-zoom/releases{/id}","deployments_url":"https://api.github.com/repos/rpearce/react-medium-image-zoom/deployments","created_at":"2016-07-13T18:15:49Z","updated_at":"2017-01-30T21:23:09Z","pushed_at":"2017-02-01T01:36:12Z","git_url":"git://github.com/rpearce/react-medium-image-zoom.git","ssh_url":"git@github.com:rpearce/react-medium-image-zoom.git","clone_url":"https://github.com/rpearce/react-medium-image-zoom.git","svn_url":"https://github.com/rpearce/react-medium-image-zoom","homepage":"https://rpearce.github.io/react-medium-image-zoom/","size":2959,"stargazers_count":37,"watchers_count":37,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":3,"mirror_url":null,"open_issues_count":5,"forks":3,"open_issues":5,"watchers":37,"default_branch":"master"}},"base":{"label":"rpearce:master","ref":"master","sha":"4fe3e55a003cc390f32460d9874f893085b41ffb","user":{"login":"rpearce","id":592876,"avatar_url":"https://avatars.githubusercontent.com/u/592876?v=3","gravatar_id":"","url":"https://api.github.com/users/rpearce","html_url":"https://github.com/rpearce","followers_url":"https://api.github.com/users/rpearce/followers","following_url":"https://api.github.com/users/rpearce/following{/other_user}","gists_url":"https://api.github.com/users/rpearce/gists{/gist_id}","starred_url":"https://api.github.com/users/rpearce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rpearce/subscriptions","organizations_url":"https://api.github.com/users/rpearce/orgs","repos_url":"https://api.github.com/users/rpearce/repos","events_url":"https://api.github.com/users/rpearce/events{/privacy}","received_events_url":"https://api.github.com/users/rpearce/received_events","type":"User","site_admin":false},"repo":{"id":63269202,"name":"react-medium-image-zoom","full_name":"rpearce/react-medium-image-zoom","owner":{"login":"rpearce","id":592876,"avatar_url":"https://avatars.githubusercontent.com/u/592876?v=3","gravatar_id":"","url":"https://api.github.com/users/rpearce","html_url":"https://github.com/rpearce","followers_url":"https://api.github.com/users/rpearce/followers","following_url":"https://api.github.com/users/rpearce/following{/other_user}","gists_url":"https://api.github.com/users/rpearce/gists{/gist_id}","starred_url":"https://api.github.com/users/rpearce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rpearce/subscriptions","organizations_url":"https://api.github.com/users/rpearce/orgs","repos_url":"https://api.github.com/users/rpearce/repos","events_url":"https://api.github.com/users/rpearce/events{/privacy}","received_events_url":"https://api.github.com/users/rpearce/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rpearce/react-medium-image-zoom","description":"Medium.com style image zoom for React","fork":false,"url":"https://api.github.com/repos/rpearce/react-medium-image-zoom","forks_url":"https://api.github.com/repos/rpearce/react-medium-image-zoom/forks","keys_url":"https://api.github.com/repos/rpearce/react-medium-image-zoom/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rpearce/react-medium-image-zoom/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rpearce/react-medium-image-zoom/teams","hooks_url":"https://api.github.com/repos/rpearce/react-medium-image-zoom/hooks","issue_events_url":"https://api.github.com/repos/rpearce/react-medium-image-zoom/issues/events{/number}","events_url":"https://api.github.com/repos/rpearce/react-medium-image-zoom/events","assignees_url":"https://api.github.com/repos/rpearce/react-medium-image-zoom/assignees{/user}","branches_url":"https://api.github.com/repos/rpearce/react-medium-image-zoom/branches{/branch}","tags_url":"https://api.github.com/repos/rpearce/react-medium-image-zoom/tags","blobs_url":"https://api.github.com/repos/rpearce/react-medium-image-zoom/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rpearce/react-medium-image-zoom/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rpearce/react-medium-image-zoom/git/refs{/sha}","trees_url":"https://api.github.com/repos/rpearce/react-medium-image-zoom/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rpearce/react-medium-image-zoom/statuses/{sha}","languages_url":"https://api.github.com/repos/rpearce/react-medium-image-zoom/languages","stargazers_url":"https://api.github.com/repos/rpearce/react-medium-image-zoom/stargazers","contributors_url":"https://api.github.com/repos/rpearce/react-medium-image-zoom/contributors","subscribers_url":"https://api.github.com/repos/rpearce/react-medium-image-zoom/subscribers","subscription_url":"https://api.github.com/repos/rpearce/react-medium-image-zoom/subscription","commits_url":"https://api.github.com/repos/rpearce/react-medium-image-zoom/commits{/sha}","git_commits_url":"https://api.github.com/repos/rpearce/react-medium-image-zoom/git/commits{/sha}","comments_url":"https://api.github.com/repos/rpearce/react-medium-image-zoom/comments{/number}","issue_comment_url":"https://api.github.com/repos/rpearce/react-medium-image-zoom/issues/comments{/number}","contents_url":"https://api.github.com/repos/rpearce/react-medium-image-zoom/contents/{+path}","compare_url":"https://api.github.com/repos/rpearce/react-medium-image-zoom/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rpearce/react-medium-image-zoom/merges","archive_url":"https://api.github.com/repos/rpearce/react-medium-image-zoom/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rpearce/react-medium-image-zoom/downloads","issues_url":"https://api.github.com/repos/rpearce/react-medium-image-zoom/issues{/number}","pulls_url":"https://api.github.com/repos/rpearce/react-medium-image-zoom/pulls{/number}","milestones_url":"https://api.github.com/repos/rpearce/react-medium-image-zoom/milestones{/number}","notifications_url":"https://api.github.com/repos/rpearce/react-medium-image-zoom/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rpearce/react-medium-image-zoom/labels{/name}","releases_url":"https://api.github.com/repos/rpearce/react-medium-image-zoom/releases{/id}","deployments_url":"https://api.github.com/repos/rpearce/react-medium-image-zoom/deployments","created_at":"2016-07-13T18:15:49Z","updated_at":"2017-01-30T21:23:09Z","pushed_at":"2017-02-01T01:36:12Z","git_url":"git://github.com/rpearce/react-medium-image-zoom.git","ssh_url":"git@github.com:rpearce/react-medium-image-zoom.git","clone_url":"https://github.com/rpearce/react-medium-image-zoom.git","svn_url":"https://github.com/rpearce/react-medium-image-zoom","homepage":"https://rpearce.github.io/react-medium-image-zoom/","size":2959,"stargazers_count":37,"watchers_count":37,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":3,"mirror_url":null,"open_issues_count":5,"forks":3,"open_issues":5,"watchers":37,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rpearce/react-medium-image-zoom/pulls/32"},"html":{"href":"https://github.com/rpearce/react-medium-image-zoom/pull/32"},"issue":{"href":"https://api.github.com/repos/rpearce/react-medium-image-zoom/issues/32"},"comments":{"href":"https://api.github.com/repos/rpearce/react-medium-image-zoom/issues/32/comments"},"review_comments":{"href":"https://api.github.com/repos/rpearce/react-medium-image-zoom/pulls/32/comments"},"review_comment":{"href":"https://api.github.com/repos/rpearce/react-medium-image-zoom/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rpearce/react-medium-image-zoom/pulls/32/commits"},"statuses":{"href":"https://api.github.com/repos/rpearce/react-medium-image-zoom/statuses/85e8b88cefed77c7b0dcf92134026d12e3e8cee9"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":117,"deletions":28,"changed_files":3}}
{"actor":{"display_login":"rpearce"}}