{"action":"created","issue":{"url":"https://api.github.com/repos/DominicTobias/react-image-crop/issues/222","repository_url":"https://api.github.com/repos/DominicTobias/react-image-crop","labels_url":"https://api.github.com/repos/DominicTobias/react-image-crop/issues/222/labels{/name}","comments_url":"https://api.github.com/repos/DominicTobias/react-image-crop/issues/222/comments","events_url":"https://api.github.com/repos/DominicTobias/react-image-crop/issues/222/events","html_url":"https://github.com/DominicTobias/react-image-crop/issues/222","id":383015892,"node_id":"MDU6SXNzdWUzODMwMTU4OTI=","number":222,"title":"Change crop don't trigger onComplete (in some cases)","user":{"login":"Grimfrid","id":3342089,"node_id":"MDQ6VXNlcjMzNDIwODk=","avatar_url":"https://avatars0.githubusercontent.com/u/3342089?v=4","gravatar_id":"","url":"https://api.github.com/users/Grimfrid","html_url":"https://github.com/Grimfrid","followers_url":"https://api.github.com/users/Grimfrid/followers","following_url":"https://api.github.com/users/Grimfrid/following{/other_user}","gists_url":"https://api.github.com/users/Grimfrid/gists{/gist_id}","starred_url":"https://api.github.com/users/Grimfrid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Grimfrid/subscriptions","organizations_url":"https://api.github.com/users/Grimfrid/orgs","repos_url":"https://api.github.com/users/Grimfrid/repos","events_url":"https://api.github.com/users/Grimfrid/events{/privacy}","received_events_url":"https://api.github.com/users/Grimfrid/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-11-21T08:57:53Z","updated_at":"2018-11-22T07:11:59Z","closed_at":null,"author_association":"NONE","body":"I need to get updated `pixelCrop` on each change `crop` prop, but now `onComplete` callback calls only in condition https://github.com/DominicTobias/react-image-crop/blob/master/lib/ReactCrop.js#L510\r\n\r\nexample: https://codesandbox.io/s/xlkzpmjpmz\r\n\r\nHow about to trigger `onComplete` callback on each `crop` change?\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/DominicTobias/react-image-crop/issues/comments/440933985","html_url":"https://github.com/DominicTobias/react-image-crop/issues/222#issuecomment-440933985","issue_url":"https://api.github.com/repos/DominicTobias/react-image-crop/issues/222","id":440933985,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MDkzMzk4NQ==","user":{"login":"Grimfrid","id":3342089,"node_id":"MDQ6VXNlcjMzNDIwODk=","avatar_url":"https://avatars0.githubusercontent.com/u/3342089?v=4","gravatar_id":"","url":"https://api.github.com/users/Grimfrid","html_url":"https://github.com/Grimfrid","followers_url":"https://api.github.com/users/Grimfrid/followers","following_url":"https://api.github.com/users/Grimfrid/following{/other_user}","gists_url":"https://api.github.com/users/Grimfrid/gists{/gist_id}","starred_url":"https://api.github.com/users/Grimfrid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Grimfrid/subscriptions","organizations_url":"https://api.github.com/users/Grimfrid/orgs","repos_url":"https://api.github.com/users/Grimfrid/repos","events_url":"https://api.github.com/users/Grimfrid/events{/privacy}","received_events_url":"https://api.github.com/users/Grimfrid/received_events","type":"User","site_admin":false},"created_at":"2018-11-22T07:11:59Z","updated_at":"2018-11-22T07:11:59Z","author_association":"NONE","body":"I don't think about infinite loop, now I'm understand, thank you for explanation. For now, I use exported function `getPixelCrop` for calculate `pixelCrop` manually, it helps me.\r\n\r\nYou had made a great tool, thank you 👍 "}}
{"actor":{"display_login":"Grimfrid"}}