Merge branch 'edison/feat/vaporTransition' into edison/testVapor
This commit is contained in:
commit
a48e32f8c9
|
@ -192,6 +192,8 @@ export function applyTransitionHooks(
|
|||
|
||||
// fallthrough attrs
|
||||
if (fallthroughAttrs && instance.hasFallthrough) {
|
||||
// mark single root
|
||||
;(child as any).$root = true
|
||||
applyFallthroughProps(child, instance.attrs)
|
||||
}
|
||||
|
||||
|
|
|
@ -153,6 +153,7 @@ export const VaporTransitionGroup: ObjectVaporComponent = decorate({
|
|||
insert(slottedBlock, container)
|
||||
// fallthrough attrs
|
||||
if (instance!.hasFallthrough) {
|
||||
;(container as any).$root = true
|
||||
renderEffect(() => applyFallthroughProps(container, instance!.attrs))
|
||||
}
|
||||
return container
|
||||
|
|
Loading…
Reference in New Issue