We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb8830f commit 41aba70Copy full SHA for 41aba70
packages/runtime-vapor/src/components/Transition.ts
@@ -74,6 +74,9 @@ export const VaporTransition: FunctionalVaporComponent = /*@__PURE__*/ decorate(
74
const resolvedAttrs = extend({}, attrs)
75
const child = findTransitionBlock(children)
76
if (child) {
77
+ // mark single root
78
+ ;(child as any).$root = true
79
+
80
applyFallthroughProps(child, resolvedAttrs)
81
// ensure fallthrough attrs are not happened again in
82
// applyTransitionHooks
0 commit comments