Webchat does not render correctly when added to a Web Component/shadowRoot #5194
Labels
Bot Services
Required for internal Azure reporting. Do not delete. Do not change color.
bug
Indicates an unexpected problem or an unintended behavior.
customer-reported
Required for internal Azure reporting. Do not delete.
Is it an issue related to Adaptive Cards?
No
Is this an accessibility issue?
No
What version of Web Chat are you using?
Latest production
Which distribution are you using Web Chat from?
Bundle (webchat.js)
Which hosting environment does this issue primarily affect?
Web apps
Which browsers and platforms do the issue happened?
Browser: Chrome (latest)
Which area does this issue affect?
Others or unrelated
Which theme pack does this issue affect?
I did not test it on other theme packs
What is the public URL for the website?
No response
Please describe the bug
Attempting to render Web Chat inside a Web Component does not appear to work, and renders in a broken state:
I'm presuming this could be from the CSS-in-JS not working correctly within a Shadow DOM? Are there any workarounds for this?
Do you see any errors in console log?
How to reproduce the issue?
Reproduce the provided html example above
What do you expect?
That the webchat should still render correctly with it's CSS
What actually happened?
The webchat does not appear to render with it's CSS
Do you have any screenshots or recordings to repro the issue?
No response
Adaptive Card JSON
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: