pycodestyle
pycodestyle copied to clipboard
Not rendered correctly in Shadow DOM
8.1.0
Is there any workaround?
Could you give more details about your issue?
When the Svelvet component is in a Shadow DOM it uses document.querySelector and therefore cannot resolve Edge, Anchor, etc.
https://github.com/open-source-labs/Svelvet/blob/5f835b641887547d4ab6b4cdf491edb21d62a968/src/lib/components/Edge/Edge.svelte#L20
I think it is necessary to implement a provider that can change the execution target from the document to the shadow root.
Also, need to be able to place styles in the Shadow DOM instead of in the head.