Library Styles In the Shadow Dom #5998
Replies: 3 comments
-
|
Hi @gavinsauder. let me look into this and get back to you. I have a couple of questions:
|
Beta Was this translation helpful? Give feedback.
-
|
Hi @mgamis-msft, We are using the messageThread and Sendbox components. I put together a little sample: https://gist.github.com/gavinsauder/90528d661fd662303050dd369f057e64 If you remove the shadow dom(line 9-13) and do createRoot of the |
Beta Was this translation helpful? Give feedback.
-
|
@gavinsauder Thanks for your inquiry. We don't support that and won't be able to for the time being. The current work around can be putting your code into an iframe for css encapsulation. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I have a chat widget that gets embedded on websites, and I'd like to use the shadow dom to isolate the styles for my widget from the website. It appears like native acs styling does not work in the shadow dom from my testing. Does this library support the shadow dom? If so, how would we implement it? Or is there another way to do this?
Beta Was this translation helpful? Give feedback.
All reactions