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

Optional Shadow DOM #17

Open
justforcomment opened this issue Jul 5, 2024 · 1 comment
Open

Optional Shadow DOM #17

justforcomment opened this issue Jul 5, 2024 · 1 comment

Comments

@justforcomment
Copy link

Hello! Great job!

Is it possible not to use shadow dom at the moment? Perhaps by overriding properties or methods?

Motivation:

  • Not all browsers support Shadow DOM well

  • Difficult to reuse common styles between custom elements

  • Other use cases where the developer can decide whether to use Shadow DOM or not

@jogibear9988
Copy link
Member

This is not possible with this library, and also not planed.
ShadowDom is in all the major browsers since 2016 ( https://caniuse.com/shadowdomv1 , okay FireFox 2018).

If open styleable shadowroots will we a thing, then we will support it.

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

No branches or pull requests

2 participants