Skip to content

fix(runtime-vapor): pass Transition fallthrough attrs through slot outlets - #16264

Merged
edison1105 merged 2 commits into
vuejs:minorfrom
ValentinYoushkevich:fix/vapor-transition-slot-fallthrough
Nov 16, 2026
Merged

edison1105 merged 2 commits into
vuejs:minorfrom
ValentinYoushkevich:fix/vapor-transition-slot-fallthrough

Conversation

@ValentinYoushkevich

Copy link
Copy Markdown
Contributor

A vapor component whose template is <transition><slot /></transition> drops the fallthrough attrs its parent passes and warns that they could not be inherited. VDOM puts them on the root of the slot content, merged with its own class and style (playground). jeecgboot's CollapseTransition is such a wrapper: the enable attr given to it never reaches the content.

Fallthrough resolution now looks through slot outlets when the owner is a Transition, as vShow already does, and re-applies the attrs when the outlet swaps between its content and fallback.

@coderabbitai

coderabbitai Bot commented Nov 13, 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

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 727b720d-ea5a-4ddd-84cc-3837dc880040

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
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

@pkg-pr-new

pkg-pr-new Bot commented Nov 13, 2026 •

Copy link
Copy Markdown

Open in StackBlitz

@vue/compiler-core

pnpm add https://pkg.pr.new/@vue/compiler-core@16264
npm i https://pkg.pr.new/@vue/compiler-core@16264
yarn add https://pkg.pr.new/@vue/compiler-core@16264.tgz

@vue/compiler-dom

pnpm add https://pkg.pr.new/@vue/compiler-dom@16264
npm i https://pkg.pr.new/@vue/compiler-dom@16264
yarn add https://pkg.pr.new/@vue/compiler-dom@16264.tgz

@vue/compiler-sfc

pnpm add https://pkg.pr.new/@vue/compiler-sfc@16264
npm i https://pkg.pr.new/@vue/compiler-sfc@16264
yarn add https://pkg.pr.new/@vue/compiler-sfc@16264.tgz

@vue/compiler-ssr

pnpm add https://pkg.pr.new/@vue/compiler-ssr@16264
npm i https://pkg.pr.new/@vue/compiler-ssr@16264
yarn add https://pkg.pr.new/@vue/compiler-ssr@16264.tgz

@vue/compiler-vapor

pnpm add https://pkg.pr.new/@vue/compiler-vapor@16264
npm i https://pkg.pr.new/@vue/compiler-vapor@16264
yarn add https://pkg.pr.new/@vue/compiler-vapor@16264.tgz

@vue/reactivity

pnpm add https://pkg.pr.new/@vue/reactivity@16264
npm i https://pkg.pr.new/@vue/reactivity@16264
yarn add https://pkg.pr.new/@vue/reactivity@16264.tgz

@vue/runtime-core

pnpm add https://pkg.pr.new/@vue/runtime-core@16264
npm i https://pkg.pr.new/@vue/runtime-core@16264
yarn add https://pkg.pr.new/@vue/runtime-core@16264.tgz

@vue/runtime-dom

pnpm add https://pkg.pr.new/@vue/runtime-dom@16264
npm i https://pkg.pr.new/@vue/runtime-dom@16264
yarn add https://pkg.pr.new/@vue/runtime-dom@16264.tgz

@vue/runtime-vapor

pnpm add https://pkg.pr.new/@vue/runtime-vapor@16264
npm i https://pkg.pr.new/@vue/runtime-vapor@16264
yarn add https://pkg.pr.new/@vue/runtime-vapor@16264.tgz

@vue/server-renderer

pnpm add https://pkg.pr.new/@vue/server-renderer@16264
npm i https://pkg.pr.new/@vue/server-renderer@16264
yarn add https://pkg.pr.new/@vue/server-renderer@16264.tgz

@vue/shared

pnpm add https://pkg.pr.new/@vue/shared@16264
npm i https://pkg.pr.new/@vue/shared@16264
yarn add https://pkg.pr.new/@vue/shared@16264.tgz

vue

pnpm add https://pkg.pr.new/vue@16264
npm i https://pkg.pr.new/vue@16264
yarn add https://pkg.pr.new/vue@16264.tgz

@vue/compat

pnpm add https://pkg.pr.new/@vue/compat@16264
npm i https://pkg.pr.new/@vue/compat@16264
yarn add https://pkg.pr.new/@vue/compat@16264.tgz

commit: d5ae9d7

@github-actions

github-actions Bot commented Nov 13, 2026 •

Copy link
Copy Markdown

Size Report

Bundles

File Size Gzip Brotli
compiler-dom.global.prod.js 87.5 kB 30.7 kB 27 kB
runtime-dom.global.prod.js 124 kB 46.5 kB 41.7 kB
vue.global.prod.js 185 kB 66.8 kB 59.5 kB

Usages

Name Size Gzip Brotli
createApp (CAPI only) 55.6 kB 21.6 kB 19.7 kB
createApp 64.9 kB 25 kB 22.7 kB
createApp + vaporInteropPlugin 123 kB (+31 B) 44.8 kB (+15 B) 40.4 kB (+88 B)
createVaporApp 35.8 kB (+31 B) 13.8 kB (+16 B) 12.7 kB (+6 B)
createSSRApp 69.8 kB 27 kB 24.5 kB
createVaporSSRApp 43.6 kB (+31 B) 16.6 kB (+16 B) 15.2 kB (-19 B)
defineCustomElement 71.4 kB 27 kB 24.5 kB
defineVaporCustomElement 50.9 kB (+31 B) 18.6 kB (+17 B) 17 kB (+11 B)
overall 81.8 kB 31 kB 28 kB

@edison1105 edison1105 added the scope: vapor related to vapor mode label Nov 16, 2026
@edison1105
edison1105 merged commit 980b035 into vuejs:minor Nov 16, 2026
11 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