Repository navigation
fix(compiler-vapor): propagate component root through Transition - #15275
Conversation
Treat a root Transition as transparent when determining its single-root child so fallthrough class and style bindings use root merging.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (2)
📝 WalkthroughWalkthroughVapor single-root detection now treats transition nodes like template elements. A regression test verifies that transition-wrapped roots preserve static and internal classes while merging parent fallthrough classes during initial and reactive updates. ChangesVapor Transition Class Handling
Estimated code review effort: 2 (Simple) | ~10 minutes Possibly related PRs
Suggested labels: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
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. Comment |
@vue/compiler-core
@vue/compiler-dom
@vue/compiler-sfc
@vue/compiler-ssr
@vue/compiler-vapor
@vue/reactivity
@vue/runtime-core
@vue/runtime-dom
@vue/runtime-vapor
@vue/server-renderer
@vue/shared
vue
@vue/compat
commit: |
Size ReportBundles
Usages
|
Also bumps motion-v, shiki, vue-tsc/vue-component-type-helpers/ vue-component-meta, and commitlint/oxlint/typescript-eslint patch releases. Updates the vapor class-merge regression test now that vuejs/core#15275 (fixed upstream in rc.4) resolves the Transition-wrapped external-class bug the workaround pattern was covering for.
Close #15274
Treat a root Transition as transparent when determining its single-root child so fallthrough class and style bindings use root merging.
Summary by CodeRabbit
Bug Fixes
Tests