react-web-component icon indicating copy to clipboard operation
react-web-component copied to clipboard

React material ui doesn't function properly while having shadow dom enabled

Open darius-khll opened this issue 3 years ago • 0 comments

Hi, I have tested this issue using various react and material ui versions, apparently the issue happens to be quite widespread! Once I enable shadow dom, I run into trouble having material ui styles displayed however everything is working fine as soon as shadow dom is disabled like the below command

ReactWebComponent.create(<App />, 'my-component', false);

could you point me toward the problem, I may be able to solve it and create PR as well on my own!

darius-khll avatar Aug 27 '22 22:08 darius-khll