diff --git a/packages/runtime-dom/src/index.ts b/packages/runtime-dom/src/index.ts index f6f0cf322c4..ed35e1293f8 100644 --- a/packages/runtime-dom/src/index.ts +++ b/packages/runtime-dom/src/index.ts @@ -184,6 +184,7 @@ function normalizeContainer( } if ( __DEV__ && + window.ShadowRoot && container instanceof window.ShadowRoot && container.mode === 'closed' ) {