We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f608b23 commit 86301f1Copy full SHA for 86301f1
packages/runtime-core/src/renderer.ts
@@ -1349,11 +1349,12 @@ function baseCreateRenderer(
1349
}
1350
} else {
1351
// custom element style injection
1352
- if (root.ce) {
+ if (
1353
+ root.ce &&
1354
// @ts-expect-error _def is private
- if ((root.ce as VueElement)._def.shadowRoot !== false) {
1355
- root.ce._injectChildStyle(type)
1356
- }
+ (root.ce as VueElement)._def.shadowRoot !== false
+ ) {
1357
+ root.ce._injectChildStyle(type)
1358
1359
1360
if (__DEV__) {
0 commit comments