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

Unable to use pointer events under a shadow dom #354

Open
F2X opened this issue Jun 30, 2017 · 2 comments
Open

Unable to use pointer events under a shadow dom #354

F2X opened this issue Jun 30, 2017 · 2 comments

Comments

@F2X
Copy link

@F2X F2X commented Jun 30, 2017

I noticed some issues when trying to use pepjs under a web component:
I'm migrating from Polymer 1.9 to 2, which supports shadow dom, and PointerEvents are not forwarded to elements within the shadow root.

I think it's related with #353 and #305.

@F2X F2X changed the title Unable to use pointer events under a shadow Dom Unable to use pointer events under a shadow dom Jun 30, 2017
@Idicious
Copy link

@Idicious Idicious commented Mar 1, 2018

I'm not sure how cross browser compatibility is with this but instead of event.target you can use event.path[0] in Polymer.

@IanBellomy
Copy link

@IanBellomy IanBellomy commented May 24, 2019

Same issue but am working with vanilla WC, any tips?

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

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.