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
Follow-up from #1324
When using StyleSheetManager with frame as target, keyframes and injectGlobal will be applied only to parent window <head />. We need the ability to insert global styles and keyframes inside <StyleSheetManager />.
That component will get componentId by provided prop name, then grab corresponding styles from global Stylesheet instance and insert them to closest StyleSheetManager target.
The text was updated successfully, but these errors were encountered:
Follow-up from #1324
When using
StyleSheetManager
with frame as target,keyframes
andinjectGlobal
will be applied only to parent window<head />
. We need the ability to insert global styles and keyframes inside<StyleSheetManager />
.As solution we can add new components: `.
Example usage with global styles:
Example with keyframes:
That component will get
componentId
by provided propname
, then grab corresponding styles from global Stylesheet instance and insert them to closest StyleSheetManager target.The text was updated successfully, but these errors were encountered: