Skip to content

Commit

Permalink
fix(runtime-dom): fix shadowRoot instanceof check in unsupported brow…
Browse files Browse the repository at this point in the history
…sers (#4238)
  • Loading branch information
Hfutsora authored Aug 2, 2021
1 parent d3d5ad2 commit bc7dd93
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/runtime-dom/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,7 @@ function normalizeContainer(
}
if (
__DEV__ &&
window.ShadowRoot &&
container instanceof window.ShadowRoot &&
container.mode === 'closed'
) {
Expand Down

0 comments on commit bc7dd93

Please sign in to comment.