Skip to content

fix(runtime-vapor): keep multi-root vdom slot content forwarded below a vapor transition root - #15754

Merged
edison1105 merged 1 commit into
vuejs:minorfrom
ValentinYoushkevich:fix/vapor-forwarded-slot-below-transition-root
Oct 8, 2026
Merged

edison1105 merged 1 commit into
vuejs:minorfrom
ValentinYoushkevich:fix/vapor-forwarded-slot-below-transition-root

Conversation

@ValentinYoushkevich

Copy link
Copy Markdown
Contributor

A VDOM slot forwarded into a Vapor <Transition> but rendered below its root (inside <component :is>, or relayed through another component's slot) keeps only its first node and warns <transition> can only be used on a single element. The fallback for a slot that renders before Transition's hooks exist treated every such forwarded outlet as the transition root. On the client the hooks are always in place first, so the fallback now applies only to outlets created during hydration, the case it was added for.

Seen in vael-ui (menu row labels disappear) and Drawer → Dialog (one of two footer buttons).

Playground

@coderabbitai

coderabbitai Bot commented Oct 2, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Advanced

Run ID: 0a7c600e-8d2a-44d0-a6f4-9fd94fda8e82

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Autopilot is currently an internal CodeRabbit preview.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@pkg-pr-new

pkg-pr-new Bot commented Oct 2, 2026

Copy link
Copy Markdown

Open in StackBlitz

@vue/compiler-core

pnpm add https://pkg.pr.new/@vue/compiler-core@15754
npm i https://pkg.pr.new/@vue/compiler-core@15754
yarn add https://pkg.pr.new/@vue/[email protected]

@vue/compiler-dom

pnpm add https://pkg.pr.new/@vue/compiler-dom@15754
npm i https://pkg.pr.new/@vue/compiler-dom@15754
yarn add https://pkg.pr.new/@vue/[email protected]

@vue/compiler-sfc

pnpm add https://pkg.pr.new/@vue/compiler-sfc@15754
npm i https://pkg.pr.new/@vue/compiler-sfc@15754
yarn add https://pkg.pr.new/@vue/[email protected]

@vue/compiler-ssr

pnpm add https://pkg.pr.new/@vue/compiler-ssr@15754
npm i https://pkg.pr.new/@vue/compiler-ssr@15754
yarn add https://pkg.pr.new/@vue/[email protected]

@vue/compiler-vapor

pnpm add https://pkg.pr.new/@vue/compiler-vapor@15754
npm i https://pkg.pr.new/@vue/compiler-vapor@15754
yarn add https://pkg.pr.new/@vue/[email protected]

@vue/reactivity

pnpm add https://pkg.pr.new/@vue/reactivity@15754
npm i https://pkg.pr.new/@vue/reactivity@15754
yarn add https://pkg.pr.new/@vue/[email protected]

@vue/runtime-core

pnpm add https://pkg.pr.new/@vue/runtime-core@15754
npm i https://pkg.pr.new/@vue/runtime-core@15754
yarn add https://pkg.pr.new/@vue/[email protected]

@vue/runtime-dom

pnpm add https://pkg.pr.new/@vue/runtime-dom@15754
npm i https://pkg.pr.new/@vue/runtime-dom@15754
yarn add https://pkg.pr.new/@vue/[email protected]

@vue/runtime-vapor

pnpm add https://pkg.pr.new/@vue/runtime-vapor@15754
npm i https://pkg.pr.new/@vue/runtime-vapor@15754
yarn add https://pkg.pr.new/@vue/[email protected]

@vue/server-renderer

pnpm add https://pkg.pr.new/@vue/server-renderer@15754
npm i https://pkg.pr.new/@vue/server-renderer@15754
yarn add https://pkg.pr.new/@vue/[email protected]

@vue/shared

pnpm add https://pkg.pr.new/@vue/shared@15754
npm i https://pkg.pr.new/@vue/shared@15754
yarn add https://pkg.pr.new/@vue/[email protected]

vue

pnpm add https://pkg.pr.new/vue@15754
npm i https://pkg.pr.new/vue@15754
yarn add https://pkg.pr.new/[email protected]

@vue/compat

pnpm add https://pkg.pr.new/@vue/compat@15754
npm i https://pkg.pr.new/@vue/compat@15754
yarn add https://pkg.pr.new/@vue/[email protected]

commit: e777174

@github-actions

github-actions Bot commented Oct 2, 2026

Copy link
Copy Markdown

Size Report

Bundles

File Size Gzip Brotli
compiler-dom.global.prod.js 87.2 kB 30.6 kB 26.9 kB
runtime-dom.global.prod.js 117 kB 43.9 kB 39.3 kB
vue.global.prod.js 177 kB 64 kB 57 kB

Usages

Name Size Gzip Brotli
createApp (CAPI only) 53.2 kB 20.7 kB 18.9 kB
createApp 62 kB 23.9 kB 21.8 kB
createApp + vaporInteropPlugin 129 kB 46.6 kB 41.8 kB
createVaporApp 34.1 kB 13.1 kB 12 kB
createSSRApp 67 kB 26 kB 23.6 kB
createVaporSSRApp 40.8 kB 15.5 kB 14.2 kB
defineCustomElement 68.5 kB 25.9 kB 23.6 kB
defineVaporCustomElement 48.6 kB 17.7 kB 16.3 kB
overall 77.5 kB 29.5 kB 26.7 kB

@edison1105 edison1105 added the scope: vapor related to vapor mode label Oct 3, 2026
@edison1105
edison1105 merged commit 1de1372 into vuejs:minor Oct 8, 2026
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope: vapor related to vapor mode

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants