Better support for shadow DOM #19371
emilmuller
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
In one particular case, I'm finding myself having to put the entire Tailwind stylesheet inside a shadow DOM to avoid conflicts with another styling system.
However, inside the shadow DOM, it seems like the @Property directive gets completely ignored by Chrome. E.g. this gets ignored:
Causing no borders to function without me manually defining it for :host.
Seems to be documented here: https://developer.chrome.com/docs/css-ui/css-names under 'Exception to the rule [...]'.
Would be great if there was some way of using it with shadow DOM like this.
Beta Was this translation helpful? Give feedback.
All reactions