Using jss.setup with a shadowRoot #176
Unanswered
AntonOfTheWoods
asked this question in
Q&A
Replies: 2 comments 2 replies
-
|
Where you able to resolve this? Any suggestions on how to get |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
If you you can put together an example that works with emotion I should be able to help. |
Beta Was this translation helpful? Give feedback.
2 replies
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.
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to migrate some content scripts that use
tss-reactinto ashadowRootin a chrome extension to avoid style contamination. I looked at the docs but nothing seems to address this directly. I am also using MUI and have bothmakeStylesandjss.createStyleSheet, which I am using with someinfernocode (some situations have 10s of thousands of nodes).The setup is a little complex but seems to work pretty well (very quick on 10s of thousands of nodes) - I was getting some CSS contamination on certain host pages (of the extension) so am looking to properly separate. My original investigation suggested
insertionPointon myshadowRootobject might be the way to go but it didn't seem to work. Should it?Is this possible? Are there any examples anywhere?
Beta Was this translation helpful? Give feedback.
All reactions