You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using Material UI for developing a web component. I an using emotion CacheProvider to scope the styles to shadow dom.
Now when I attached an external stylesheet to emotion scoped style tag manually in the DOM itself, it removed all the scoped styling for all MUI components.
Current behavior:
I am using Material UI for developing a web component. I an using emotion CacheProvider to scope the styles to shadow dom.
Now when I attached an external stylesheet to emotion scoped style tag manually in the DOM itself, it removed all the scoped styling for all MUI components.
**<style data-emotion="scoped" data-s=""></style><link rel="stylesheet" **
href="https://my.website.com/Content/styles/css/my.css?v=1.0.0.0">
However, if it is attached programmatically through code, it doesn't affect the scoped styles.
Also if I add the link tag to another element maybe just below it scoped styles remains intact
To reproduce:
This is a very weird issue for me. I am attaching a video for you to see how you can reproduce this issue.
emotionissue.pptx
Environment information:
The text was updated successfully, but these errors were encountered: