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
// fallthrough attrs
if (fallthroughAttrs && instance.hasFallthrough) {
+ // mark single root
+ ;(child as any).$root = true
applyFallthroughProps(child, instance.attrs)
}
insert(slottedBlock, container)
// fallthrough attrs
if (instance!.hasFallthrough) {
+ ;(container as any).$root = true
renderEffect(() => applyFallthroughProps(container, instance!.attrs))
}
return container