{"action":"created","issue":{"url":"https://api.github.com/repos/react-dropzone/react-dropzone/issues/568","repository_url":"https://api.github.com/repos/react-dropzone/react-dropzone","labels_url":"https://api.github.com/repos/react-dropzone/react-dropzone/issues/568/labels{/name}","comments_url":"https://api.github.com/repos/react-dropzone/react-dropzone/issues/568/comments","events_url":"https://api.github.com/repos/react-dropzone/react-dropzone/issues/568/events","html_url":"https://github.com/react-dropzone/react-dropzone/pull/568","id":295271618,"number":568,"title":"fix: replace removeEventListener to addEventListener","user":{"login":"Baskerville42","id":5596941,"avatar_url":"https://avatars0.githubusercontent.com/u/5596941?v=4","gravatar_id":"","url":"https://api.github.com/users/Baskerville42","html_url":"https://github.com/Baskerville42","followers_url":"https://api.github.com/users/Baskerville42/followers","following_url":"https://api.github.com/users/Baskerville42/following{/other_user}","gists_url":"https://api.github.com/users/Baskerville42/gists{/gist_id}","starred_url":"https://api.github.com/users/Baskerville42/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Baskerville42/subscriptions","organizations_url":"https://api.github.com/users/Baskerville42/orgs","repos_url":"https://api.github.com/users/Baskerville42/repos","events_url":"https://api.github.com/users/Baskerville42/events{/privacy}","received_events_url":"https://api.github.com/users/Baskerville42/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-02-07T19:56:05Z","updated_at":"2018-02-08T07:21:21Z","closed_at":"2018-02-08T07:19:23Z","author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/react-dropzone/react-dropzone/pulls/568","html_url":"https://github.com/react-dropzone/react-dropzone/pull/568","diff_url":"https://github.com/react-dropzone/react-dropzone/pull/568.diff","patch_url":"https://github.com/react-dropzone/react-dropzone/pull/568.patch"},"body":"<!-- Thanks for submitting a pull request! Please provide enough information so that others can review your pull request. -->\r\n\r\n**What kind of change does this PR introduce?**\r\n\r\n- [x] bugfix\r\n- [ ] feature\r\n- [ ] refactoring / style\r\n- [ ] build / chore\r\n- [ ] documentation\r\n\r\n**Did you add tests for your changes?**\r\n\r\n- [x] Yes, my code is well tested\r\n- [ ] Not relevant\r\n\r\n**If relevant, did you update the documentation?**\r\n\r\n- [ ] Yes, I've updated the documentation\r\n- [x] Not relevant\r\n\r\n**Summary**\r\nHave fix #567 \r\n<!-- Explain the **motivation** for making this change. What existing problem does the pull request solve? -->\r\n<!-- Try to link to an open issue for more information. -->\r\n"},"comment":{"url":"https://api.github.com/repos/react-dropzone/react-dropzone/issues/comments/364023986","html_url":"https://github.com/react-dropzone/react-dropzone/pull/568#issuecomment-364023986","issue_url":"https://api.github.com/repos/react-dropzone/react-dropzone/issues/568","id":364023986,"user":{"login":"Baskerville42","id":5596941,"avatar_url":"https://avatars0.githubusercontent.com/u/5596941?v=4","gravatar_id":"","url":"https://api.github.com/users/Baskerville42","html_url":"https://github.com/Baskerville42","followers_url":"https://api.github.com/users/Baskerville42/followers","following_url":"https://api.github.com/users/Baskerville42/following{/other_user}","gists_url":"https://api.github.com/users/Baskerville42/gists{/gist_id}","starred_url":"https://api.github.com/users/Baskerville42/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Baskerville42/subscriptions","organizations_url":"https://api.github.com/users/Baskerville42/orgs","repos_url":"https://api.github.com/users/Baskerville42/repos","events_url":"https://api.github.com/users/Baskerville42/events{/privacy}","received_events_url":"https://api.github.com/users/Baskerville42/received_events","type":"User","site_admin":false},"created_at":"2018-02-08T07:21:21Z","updated_at":"2018-02-08T07:21:21Z","author_association":"NONE","body":"sorry, the problem was with ref mocking\r\n```\r\nfunction createNodeMock(element) {\r\n  if (element.type === 'input') {\r\n    return {\r\n      addEventListener() {},\r\n      removeEventListener() {},\r\n    };\r\n  }\r\n  return null;\r\n}\r\n```"}}
{"actor":{"display_login":"Baskerville42"}}