Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upUnable to bind to elements within shadow root on Safari... #353
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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:
webkit.createShadowRoot has been deprecated, and replaced with el.attachShadow
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?