{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/react/issues/5967","labels_url":"https://api.github.com/repos/facebook/react/issues/5967/labels{/name}","comments_url":"https://api.github.com/repos/facebook/react/issues/5967/comments","events_url":"https://api.github.com/repos/facebook/react/issues/5967/events","html_url":"https://github.com/facebook/react/issues/5967","id":130673574,"number":5967,"title":"<button onClick={...} disabled={true}> not firing onClick is undocumented.","user":{"login":"Havvy","id":731722,"avatar_url":"https://avatars.githubusercontent.com/u/731722?v=3","gravatar_id":"","url":"https://api.github.com/users/Havvy","html_url":"https://github.com/Havvy","followers_url":"https://api.github.com/users/Havvy/followers","following_url":"https://api.github.com/users/Havvy/following{/other_user}","gists_url":"https://api.github.com/users/Havvy/gists{/gist_id}","starred_url":"https://api.github.com/users/Havvy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Havvy/subscriptions","organizations_url":"https://api.github.com/users/Havvy/orgs","repos_url":"https://api.github.com/users/Havvy/repos","events_url":"https://api.github.com/users/Havvy/events{/privacy}","received_events_url":"https://api.github.com/users/Havvy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-02T12:49:01Z","updated_at":"2016-02-02T13:16:57Z","closed_at":null,"body":"Looking at https://github.com/facebook/react/blob/master/src/renderers/dom/client/wrappers/__tests__/ReactDOMButton-test.js - there are tests stating that `onClick` doesn't get fired if you click a button that is disabled. This doesn't seem to be shown anywhere in the documentation.\r\n\r\nSlightly tangental, if there's an `onClick` on a parent element of a `<button disabled={true}>`, and somebody clicks the button, is the `onClick` fired for the parent element?"},"comment":{"url":"https://api.github.com/repos/facebook/react/issues/comments/178571196","html_url":"https://github.com/facebook/react/issues/5967#issuecomment-178571196","issue_url":"https://api.github.com/repos/facebook/react/issues/5967","id":178571196,"user":{"login":"jenriquejr","id":2904943,"avatar_url":"https://avatars.githubusercontent.com/u/2904943?v=3","gravatar_id":"","url":"https://api.github.com/users/jenriquejr","html_url":"https://github.com/jenriquejr","followers_url":"https://api.github.com/users/jenriquejr/followers","following_url":"https://api.github.com/users/jenriquejr/following{/other_user}","gists_url":"https://api.github.com/users/jenriquejr/gists{/gist_id}","starred_url":"https://api.github.com/users/jenriquejr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenriquejr/subscriptions","organizations_url":"https://api.github.com/users/jenriquejr/orgs","repos_url":"https://api.github.com/users/jenriquejr/repos","events_url":"https://api.github.com/users/jenriquejr/events{/privacy}","received_events_url":"https://api.github.com/users/jenriquejr/received_events","type":"User","site_admin":false},"created_at":"2016-02-02T13:16:57Z","updated_at":"2016-02-02T13:16:57Z","body":"probably not included because this part of the html specification\r\nsee https://www.w3.org/TR/2011/WD-html5-20110525/association-of-controls-and-forms.html#dom-fe-disabled"}}