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 bind to elements within shadow root on Safari... #353

Open
gratbodkin opened this issue Jun 13, 2017 · 0 comments
Open

Unable to bind to elements within shadow root on Safari... #353

gratbodkin opened this issue Jun 13, 2017 · 0 comments

Comments

@gratbodkin
Copy link

@gratbodkin gratbodkin commented Jun 13, 2017

When attempting to bind to an element within a shadow root on Safari, PEP instead binds to the host element..

Tried looking at the examples (specifically, shadow.html). That example does not run for 2 reasons:

  1. webkit.createShadowRoot has been deprecated, and replaced with el.attachShadow

  2. It appears the PEP API has changed as well, in that PointerEventsPolyfill.register(showdowRoot) no longer seems to exist.

As a result, I have a few questions:

In safari, if I need to bind to an element within a shadow root, am I required to somehow register the shadow host with PEP?

If so, how do I do it?

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
1 participant
You can’t perform that action at this time.