diff --git a/packages/runtime-core/src/components/Teleport.ts b/packages/runtime-core/src/components/Teleport.ts index b9413598e54..8cac2f93253 100644 --- a/packages/runtime-core/src/components/Teleport.ts +++ b/packages/runtime-core/src/components/Teleport.ts @@ -43,7 +43,7 @@ const resolveTarget = ( return null } else { const target = select(targetSelector) - if (!target) { + if (!target && !isTeleportDisabled(props)) { __DEV__ && warn( `Failed to locate Teleport target with selector "${targetSelector}". ` +