fix(runtime-dom): fix shadowRoot instanceof check in unsupported browsers (#4238)
This commit is contained in:
@@ -184,6 +184,7 @@ function normalizeContainer(
|
||||
}
|
||||
if (
|
||||
__DEV__ &&
|
||||
window.ShadowRoot &&
|
||||
container instanceof window.ShadowRoot &&
|
||||
container.mode === 'closed'
|
||||
) {
|
||||
|
||||
Reference in New Issue
Block a user