Overriding content script z-index
# support-framework
f
Overriding content script z-index
It seems like the context script components generated with React are being wrapped in a fixed z-index div, which makes adjusting the z-index of the component impossible. Is there any way to override this behavior?
q
@flat-state-13182 has reached level 2. GG!
f
It seems like it's hardcoded in the shadow container generator
I've been banging my head for a while trying to figure out a way to override this without modifying the library itself, without any luck to be fair. Is there any specific reason the z-index is being set here?
l
Hey @flat-state-13182 , the framework has a new feature for this (undocumented) released 3 days ago
q
@limited-farmer-52140 has reached level 13. GG!
l
You can export a getRootContainer function that can be used to override the entire shadowDom root
On the other hand, you can also quickly override the style of this ahadowDOM container as well using getStyle
We will be demoing this feature lolive later today on twitch
f
Damn, I missed the stream. I'll check it up later
I saw that there was documentation lacking for getStyle, so hopefully that livestream can help with it