{"action":"closed","issue":{"url":"https://api.github.com/repos/facebook/react/issues/12348","repository_url":"https://api.github.com/repos/facebook/react","labels_url":"https://api.github.com/repos/facebook/react/issues/12348/labels{/name}","comments_url":"https://api.github.com/repos/facebook/react/issues/12348/comments","events_url":"https://api.github.com/repos/facebook/react/issues/12348/events","html_url":"https://github.com/facebook/react/issues/12348","id":303768511,"number":12348,"title":"Cloned element using component created in render() doesn't trigger onClick()","user":{"login":"JoshuaJacobowitz","id":31038284,"avatar_url":"https://avatars0.githubusercontent.com/u/31038284?v=4","gravatar_id":"","url":"https://api.github.com/users/JoshuaJacobowitz","html_url":"https://github.com/JoshuaJacobowitz","followers_url":"https://api.github.com/users/JoshuaJacobowitz/followers","following_url":"https://api.github.com/users/JoshuaJacobowitz/following{/other_user}","gists_url":"https://api.github.com/users/JoshuaJacobowitz/gists{/gist_id}","starred_url":"https://api.github.com/users/JoshuaJacobowitz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JoshuaJacobowitz/subscriptions","organizations_url":"https://api.github.com/users/JoshuaJacobowitz/orgs","repos_url":"https://api.github.com/users/JoshuaJacobowitz/repos","events_url":"https://api.github.com/users/JoshuaJacobowitz/events{/privacy}","received_events_url":"https://api.github.com/users/JoshuaJacobowitz/received_events","type":"User","site_admin":false},"labels":[{"id":710722093,"url":"https://api.github.com/repos/facebook/react/labels/Type:%20Needs%20Investigation","name":"Type: Needs Investigation","color":"fbca04","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-03-09T08:58:44Z","updated_at":"2018-03-12T04:47:19Z","closed_at":"2018-03-12T04:47:19Z","author_association":"NONE","body":"**Do you want to request a *feature* or report a *bug*?**\r\nBug (probably)\r\n\r\n**What is the current behavior?**\r\nRerendering a cloned element, using a component created in it's render(), on any event that is triggered while clicking will cause onClick() to not be triggered.\r\nSimplest implementation that causes this: https://codesandbox.io/s/1o9o6k8mp7\r\n\r\n**What is the expected behavior?**\r\nThat onClick() gets triggered.\r\nNot cloning the element or not using a component created in render() will fix this.\r\n\r\n**Which versions of React, and which browser / OS are affected by this issue? Did this work in previous versions of React?**\r\nReact version 16.2.0 and 15.6.2.\r\n\r\n"}}
{"actor":{"display_login":"aweary"}}