Open noru opened 2 years ago
Not sure if RDG can handle this 🤔 Did you try opening an issue in the linaria repo? https://github.com/callstack/linaria/issues
@noru I'm also facing this problem. Did you manage to solve it or find a workaround for it?
@IdanGoor I copy/paste the styles to a css file and mount it myself. It works until you bump the version.
I'm using RDG with
document
and everything is okay. When I mount my app in a shadowDOM, the RDG runs into an infinite vertical expanding and break the app. And I found that the<style>
is mounted in<header>
instead ofshadowRoot
.Seems the css-in-js lib that RDG using
linaria
doesn't address how to use with shadowDOM...