Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Composed and non-bubbling events doesn't invoke host event listeners #1138

Closed
pmdartus opened this issue Mar 26, 2019 · 4 comments
Closed

Composed and non-bubbling events doesn't invoke host event listeners #1138

pmdartus opened this issue Mar 26, 2019 · 4 comments
Assignees
Labels

Comments

@pmdartus
Copy link
Member

Description

When dispatching a composed and non-bubbling event in a shadow tree, the event should invoke all the host elements on its path.

More detail: whatwg/dom#742

Browsers Affected

All

Version

  • LWC: 0.37.0
@pmdartus pmdartus changed the title Composed and non-bubbling events doesn't invoke host event listeners. Composed and non-bubbling events doesn't invoke host event listeners Mar 26, 2019
@salesforce salesforce deleted a comment from git2gus bot Aug 14, 2019
@ravijayaramappa
Copy link
Contributor

GUS work item: W-5983653

@caridy caridy self-assigned this Oct 15, 2019
@caridy
Copy link
Contributor

caridy commented Oct 15, 2019

working on this in #1569

@ekashida
Copy link
Member

ekashida commented Dec 5, 2020

Note that every node returned by composedPath() receives the event during the capture phase, but only host elements and elements that share the same shadow tree as the original event target receive the event during the bubble phase.

https://rawgit.com/ekashida/examples/master/non-bubbling-composed-events.html

@ravijayaramappa
Copy link
Contributor

synthetic-shadow is in maintenance mode, this won't be fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants