Skip to content

Commit ae19d7a

Browse files
fix(runtime): have fallback for style setting (#5948)
1 parent 7e9fa60 commit ae19d7a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/runtime/styles.ts

+2
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,8 @@ export const addStyle = (styleContainerNode: any, cmpMeta: d.ComponentRuntimeMet
112112
* at the beginning of the shadow root node
113113
*/
114114
(styleContainerNode as HTMLElement).prepend(styleElm);
115+
} else {
116+
styleContainerNode.append(styleElm);
115117
}
116118
}
117119

0 commit comments

Comments
 (0)