{"action":"created","issue":{"url":"https://api.github.com/repos/wix-incubator/unidriver/issues/9","repository_url":"https://api.github.com/repos/wix-incubator/unidriver","labels_url":"https://api.github.com/repos/wix-incubator/unidriver/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/wix-incubator/unidriver/issues/9/comments","events_url":"https://api.github.com/repos/wix-incubator/unidriver/issues/9/events","html_url":"https://github.com/wix-incubator/unidriver/issues/9","id":366203413,"node_id":"MDU6SXNzdWUzNjYyMDM0MTM=","number":9,"title":"react click doesn't trigger react-router navigation in React 16","user":{"login":"GabiGrin","id":3727015,"node_id":"MDQ6VXNlcjM3MjcwMTU=","avatar_url":"https://avatars1.githubusercontent.com/u/3727015?v=4","gravatar_id":"","url":"https://api.github.com/users/GabiGrin","html_url":"https://github.com/GabiGrin","followers_url":"https://api.github.com/users/GabiGrin/followers","following_url":"https://api.github.com/users/GabiGrin/following{/other_user}","gists_url":"https://api.github.com/users/GabiGrin/gists{/gist_id}","starred_url":"https://api.github.com/users/GabiGrin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GabiGrin/subscriptions","organizations_url":"https://api.github.com/users/GabiGrin/orgs","repos_url":"https://api.github.com/users/GabiGrin/repos","events_url":"https://api.github.com/users/GabiGrin/events{/privacy}","received_events_url":"https://api.github.com/users/GabiGrin/received_events","type":"User","site_admin":false},"labels":[{"id":945495109,"node_id":"MDU6TGFiZWw5NDU0OTUxMDk=","url":"https://api.github.com/repos/wix-incubator/unidriver/labels/bug","name":"bug","color":"d73a4a","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-03T07:12:17Z","updated_at":"2018-10-03T07:13:19Z","closed_at":"2018-10-03T07:13:19Z","author_association":"COLLABORATOR","body":"react-router-dom performs the following check: https://github.com/ReactTraining/react-router/blob/master/packages/react-router-dom/modules/Link.js#L25\r\n\r\nIn React 15 it wasn't a problem because mouse events [defaulted to {button: 0}](https://github.com/facebook/react/blob/v15.6.1/src/renderers/dom/client/syntheticEvents/SyntheticMouseEvent.js#L45\r\n) but in [16 it's undefined](https://github.com/facebook/react/blob/master/packages/react-dom/src/events/SyntheticMouseEvent.js#L33).\r\n\r\nThis can be fixed by adding button:0 to react click. It shouldn't break anything because any usages of \"click\" should have been a regular left click anyway."},"comment":{"url":"https://api.github.com/repos/wix-incubator/unidriver/issues/comments/426534792","html_url":"https://github.com/wix-incubator/unidriver/issues/9#issuecomment-426534792","issue_url":"https://api.github.com/repos/wix-incubator/unidriver/issues/9","id":426534792,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNjUzNDc5Mg==","user":{"login":"GabiGrin","id":3727015,"node_id":"MDQ6VXNlcjM3MjcwMTU=","avatar_url":"https://avatars1.githubusercontent.com/u/3727015?v=4","gravatar_id":"","url":"https://api.github.com/users/GabiGrin","html_url":"https://github.com/GabiGrin","followers_url":"https://api.github.com/users/GabiGrin/followers","following_url":"https://api.github.com/users/GabiGrin/following{/other_user}","gists_url":"https://api.github.com/users/GabiGrin/gists{/gist_id}","starred_url":"https://api.github.com/users/GabiGrin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GabiGrin/subscriptions","organizations_url":"https://api.github.com/users/GabiGrin/orgs","repos_url":"https://api.github.com/users/GabiGrin/repos","events_url":"https://api.github.com/users/GabiGrin/events{/privacy}","received_events_url":"https://api.github.com/users/GabiGrin/received_events","type":"User","site_admin":false},"created_at":"2018-10-03T07:13:19Z","updated_at":"2018-10-03T07:13:19Z","author_association":"COLLABORATOR","body":"fixed in https://github.com/wix-incubator/unidriver/commit/fcbea449b63f9b6984ca24b12e2a61b4830cd432"}}
{"actor":{"display_login":"GabiGrin"}}