{"action":"opened","number":12163,"pull_request":{"url":"https://api.github.com/repos/facebook/react/pulls/12163","id":167421453,"html_url":"https://github.com/facebook/react/pull/12163","diff_url":"https://github.com/facebook/react/pull/12163.diff","patch_url":"https://github.com/facebook/react/pull/12163.patch","issue_url":"https://api.github.com/repos/facebook/react/issues/12163","number":12163,"state":"open","locked":false,"title":"Determine event target in Shadow DOM correctly","user":{"login":"marionebl","id":4248851,"avatar_url":"https://avatars1.githubusercontent.com/u/4248851?v=4","gravatar_id":"","url":"https://api.github.com/users/marionebl","html_url":"https://github.com/marionebl","followers_url":"https://api.github.com/users/marionebl/followers","following_url":"https://api.github.com/users/marionebl/following{/other_user}","gists_url":"https://api.github.com/users/marionebl/gists{/gist_id}","starred_url":"https://api.github.com/users/marionebl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marionebl/subscriptions","organizations_url":"https://api.github.com/users/marionebl/orgs","repos_url":"https://api.github.com/users/marionebl/repos","events_url":"https://api.github.com/users/marionebl/events{/privacy}","received_events_url":"https://api.github.com/users/marionebl/received_events","type":"User","site_admin":false},"body":"## Motivation\r\n\r\nFixes an issue with events not being delegated correctly when originating from an element inside a Shadow DOM root as described in #9242. \r\n\r\n## Included changes\r\n\r\n* Add handling of `Events` that are `.compose` as per [MDN](https://developer.mozilla.org/en-US/docs/Web/API/Event/composed)\r\n* Add basic test case for `getEventTarget`\r\n* Add fixture in `fixtures/dom`, as `attachShadow` is not supported in `jsdom` yet","created_at":"2018-02-06T14:00:41Z","updated_at":"2018-02-06T14:00:41Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"milestone":null,"commits_url":"https://api.github.com/repos/facebook/react/pulls/12163/commits","review_comments_url":"https://api.github.com/repos/facebook/react/pulls/12163/comments","review_comment_url":"https://api.github.com/repos/facebook/react/pulls/comments{/number}","comments_url":"https://api.github.com/repos/facebook/react/issues/12163/comments","statuses_url":"https://api.github.com/repos/facebook/react/statuses/0406615553c28d59f9319dc400c1c49f5208c218","head":{"label":"marionebl:fix-event-propagation-across-shadow-dom","ref":"fix-event-propagation-across-shadow-dom","sha":"0406615553c28d59f9319dc400c1c49f5208c218","user":{"login":"marionebl","id":4248851,"avatar_url":"https://avatars1.githubusercontent.com/u/4248851?v=4","gravatar_id":"","url":"https://api.github.com/users/marionebl","html_url":"https://github.com/marionebl","followers_url":"https://api.github.com/users/marionebl/followers","following_url":"https://api.github.com/users/marionebl/following{/other_user}","gists_url":"https://api.github.com/users/marionebl/gists{/gist_id}","starred_url":"https://api.github.com/users/marionebl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marionebl/subscriptions","organizations_url":"https://api.github.com/users/marionebl/orgs","repos_url":"https://api.github.com/users/marionebl/repos","events_url":"https://api.github.com/users/marionebl/events{/privacy}","received_events_url":"https://api.github.com/users/marionebl/received_events","type":"User","site_admin":false},"repo":{"id":120354978,"name":"react","full_name":"marionebl/react","owner":{"login":"marionebl","id":4248851,"avatar_url":"https://avatars1.githubusercontent.com/u/4248851?v=4","gravatar_id":"","url":"https://api.github.com/users/marionebl","html_url":"https://github.com/marionebl","followers_url":"https://api.github.com/users/marionebl/followers","following_url":"https://api.github.com/users/marionebl/following{/other_user}","gists_url":"https://api.github.com/users/marionebl/gists{/gist_id}","starred_url":"https://api.github.com/users/marionebl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marionebl/subscriptions","organizations_url":"https://api.github.com/users/marionebl/orgs","repos_url":"https://api.github.com/users/marionebl/repos","events_url":"https://api.github.com/users/marionebl/events{/privacy}","received_events_url":"https://api.github.com/users/marionebl/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/marionebl/react","description":"A declarative, efficient, and flexible JavaScript library for building user interfaces.","fork":true,"url":"https://api.github.com/repos/marionebl/react","forks_url":"https://api.github.com/repos/marionebl/react/forks","keys_url":"https://api.github.com/repos/marionebl/react/keys{/key_id}","collaborators_url":"https://api.github.com/repos/marionebl/react/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/marionebl/react/teams","hooks_url":"https://api.github.com/repos/marionebl/react/hooks","issue_events_url":"https://api.github.com/repos/marionebl/react/issues/events{/number}","events_url":"https://api.github.com/repos/marionebl/react/events","assignees_url":"https://api.github.com/repos/marionebl/react/assignees{/user}","branches_url":"https://api.github.com/repos/marionebl/react/branches{/branch}","tags_url":"https://api.github.com/repos/marionebl/react/tags","blobs_url":"https://api.github.com/repos/marionebl/react/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/marionebl/react/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/marionebl/react/git/refs{/sha}","trees_url":"https://api.github.com/repos/marionebl/react/git/trees{/sha}","statuses_url":"https://api.github.com/repos/marionebl/react/statuses/{sha}","languages_url":"https://api.github.com/repos/marionebl/react/languages","stargazers_url":"https://api.github.com/repos/marionebl/react/stargazers","contributors_url":"https://api.github.com/repos/marionebl/react/contributors","subscribers_url":"https://api.github.com/repos/marionebl/react/subscribers","subscription_url":"https://api.github.com/repos/marionebl/react/subscription","commits_url":"https://api.github.com/repos/marionebl/react/commits{/sha}","git_commits_url":"https://api.github.com/repos/marionebl/react/git/commits{/sha}","comments_url":"https://api.github.com/repos/marionebl/react/comments{/number}","issue_comment_url":"https://api.github.com/repos/marionebl/react/issues/comments{/number}","contents_url":"https://api.github.com/repos/marionebl/react/contents/{+path}","compare_url":"https://api.github.com/repos/marionebl/react/compare/{base}...{head}","merges_url":"https://api.github.com/repos/marionebl/react/merges","archive_url":"https://api.github.com/repos/marionebl/react/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/marionebl/react/downloads","issues_url":"https://api.github.com/repos/marionebl/react/issues{/number}","pulls_url":"https://api.github.com/repos/marionebl/react/pulls{/number}","milestones_url":"https://api.github.com/repos/marionebl/react/milestones{/number}","notifications_url":"https://api.github.com/repos/marionebl/react/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/marionebl/react/labels{/name}","releases_url":"https://api.github.com/repos/marionebl/react/releases{/id}","deployments_url":"https://api.github.com/repos/marionebl/react/deployments","created_at":"2018-02-05T20:02:56Z","updated_at":"2018-02-05T20:03:03Z","pushed_at":"2018-02-06T13:52:57Z","git_url":"git://github.com/marionebl/react.git","ssh_url":"git@github.com:marionebl/react.git","clone_url":"https://github.com/marionebl/react.git","svn_url":"https://github.com/marionebl/react","homepage":"https://reactjs.org","size":134901,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"facebook:master","ref":"master","sha":"f05296baf586dc8e6d6e6a3e6d666c8dd8e4ccd5","user":{"login":"facebook","id":69631,"avatar_url":"https://avatars3.githubusercontent.com/u/69631?v=4","gravatar_id":"","url":"https://api.github.com/users/facebook","html_url":"https://github.com/facebook","followers_url":"https://api.github.com/users/facebook/followers","following_url":"https://api.github.com/users/facebook/following{/other_user}","gists_url":"https://api.github.com/users/facebook/gists{/gist_id}","starred_url":"https://api.github.com/users/facebook/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/facebook/subscriptions","organizations_url":"https://api.github.com/users/facebook/orgs","repos_url":"https://api.github.com/users/facebook/repos","events_url":"https://api.github.com/users/facebook/events{/privacy}","received_events_url":"https://api.github.com/users/facebook/received_events","type":"Organization","site_admin":false},"repo":{"id":10270250,"name":"react","full_name":"facebook/react","owner":{"login":"facebook","id":69631,"avatar_url":"https://avatars3.githubusercontent.com/u/69631?v=4","gravatar_id":"","url":"https://api.github.com/users/facebook","html_url":"https://github.com/facebook","followers_url":"https://api.github.com/users/facebook/followers","following_url":"https://api.github.com/users/facebook/following{/other_user}","gists_url":"https://api.github.com/users/facebook/gists{/gist_id}","starred_url":"https://api.github.com/users/facebook/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/facebook/subscriptions","organizations_url":"https://api.github.com/users/facebook/orgs","repos_url":"https://api.github.com/users/facebook/repos","events_url":"https://api.github.com/users/facebook/events{/privacy}","received_events_url":"https://api.github.com/users/facebook/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/facebook/react","description":"A declarative, efficient, and flexible JavaScript library for building user interfaces.","fork":false,"url":"https://api.github.com/repos/facebook/react","forks_url":"https://api.github.com/repos/facebook/react/forks","keys_url":"https://api.github.com/repos/facebook/react/keys{/key_id}","collaborators_url":"https://api.github.com/repos/facebook/react/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/facebook/react/teams","hooks_url":"https://api.github.com/repos/facebook/react/hooks","issue_events_url":"https://api.github.com/repos/facebook/react/issues/events{/number}","events_url":"https://api.github.com/repos/facebook/react/events","assignees_url":"https://api.github.com/repos/facebook/react/assignees{/user}","branches_url":"https://api.github.com/repos/facebook/react/branches{/branch}","tags_url":"https://api.github.com/repos/facebook/react/tags","blobs_url":"https://api.github.com/repos/facebook/react/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/facebook/react/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/facebook/react/git/refs{/sha}","trees_url":"https://api.github.com/repos/facebook/react/git/trees{/sha}","statuses_url":"https://api.github.com/repos/facebook/react/statuses/{sha}","languages_url":"https://api.github.com/repos/facebook/react/languages","stargazers_url":"https://api.github.com/repos/facebook/react/stargazers","contributors_url":"https://api.github.com/repos/facebook/react/contributors","subscribers_url":"https://api.github.com/repos/facebook/react/subscribers","subscription_url":"https://api.github.com/repos/facebook/react/subscription","commits_url":"https://api.github.com/repos/facebook/react/commits{/sha}","git_commits_url":"https://api.github.com/repos/facebook/react/git/commits{/sha}","comments_url":"https://api.github.com/repos/facebook/react/comments{/number}","issue_comment_url":"https://api.github.com/repos/facebook/react/issues/comments{/number}","contents_url":"https://api.github.com/repos/facebook/react/contents/{+path}","compare_url":"https://api.github.com/repos/facebook/react/compare/{base}...{head}","merges_url":"https://api.github.com/repos/facebook/react/merges","archive_url":"https://api.github.com/repos/facebook/react/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/facebook/react/downloads","issues_url":"https://api.github.com/repos/facebook/react/issues{/number}","pulls_url":"https://api.github.com/repos/facebook/react/pulls{/number}","milestones_url":"https://api.github.com/repos/facebook/react/milestones{/number}","notifications_url":"https://api.github.com/repos/facebook/react/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/facebook/react/labels{/name}","releases_url":"https://api.github.com/repos/facebook/react/releases{/id}","deployments_url":"https://api.github.com/repos/facebook/react/deployments","created_at":"2013-05-24T16:15:54Z","updated_at":"2018-02-06T13:56:09Z","pushed_at":"2018-02-06T12:11:10Z","git_url":"git://github.com/facebook/react.git","ssh_url":"git@github.com:facebook/react.git","clone_url":"https://github.com/facebook/react.git","svn_url":"https://github.com/facebook/react","homepage":"https://reactjs.org","size":134912,"stargazers_count":87741,"watchers_count":87741,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":16622,"mirror_url":null,"archived":false,"open_issues_count":363,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":16622,"open_issues":363,"watchers":87741,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/facebook/react/pulls/12163"},"html":{"href":"https://github.com/facebook/react/pull/12163"},"issue":{"href":"https://api.github.com/repos/facebook/react/issues/12163"},"comments":{"href":"https://api.github.com/repos/facebook/react/issues/12163/comments"},"review_comments":{"href":"https://api.github.com/repos/facebook/react/pulls/12163/comments"},"review_comment":{"href":"https://api.github.com/repos/facebook/react/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/facebook/react/pulls/12163/commits"},"statuses":{"href":"https://api.github.com/repos/facebook/react/statuses/0406615553c28d59f9319dc400c1c49f5208c218"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":133,"deletions":0,"changed_files":5}}
{"actor":{"display_login":"marionebl"}}