mirror of https://github.com/vuejs/core.git
Merge branch 'edison/feat/vaporTransition' into edison/testVapor
This commit is contained in:
commit
e31d4330ce
|
@ -74,6 +74,9 @@ export const VaporTransition: FunctionalVaporComponent = /*@__PURE__*/ decorate(
|
|||
const resolvedAttrs = extend({}, attrs)
|
||||
const child = findTransitionBlock(children)
|
||||
if (child) {
|
||||
// mark single root
|
||||
;(child as any).$root = true
|
||||
|
||||
applyFallthroughProps(child, resolvedAttrs)
|
||||
// ensure fallthrough attrs are not happened again in
|
||||
// applyTransitionHooks
|
||||
|
|
Loading…
Reference in New Issue