From a3d240ca472a306693985139fd079f7617b70baa Mon Sep 17 00:00:00 2001 From: xinhailishi <34566965+xinhailishi@users.noreply.github.com> Date: Wed, 23 Jun 2021 11:36:23 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=8F=81=20fix=20shadow=20dom=20compatible?= =?UTF-8?q?=20issue=20(#1530)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/loader.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/loader.ts b/src/loader.ts index 6a56e5f..bb46f69 100644 --- a/src/loader.ts +++ b/src/loader.ts @@ -135,7 +135,7 @@ function getAppWrapperGetter( `[qiankun] Wrapper element for ${appName} with instance ${appInstanceId} is not existed!`, ); - if (strictStyleIsolation) { + if (strictStyleIsolation && supportShadowDOM) { return element!.shadowRoot!; }