File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
packages/runtime-dom/src/components Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ import {
2727 useTransitionState ,
2828 warn ,
2929} from '@vue/runtime-core'
30- import { extend } from '@vue/shared'
30+ import { extend , hasOwn } from '@vue/shared'
3131
3232const positionMap = new WeakMap < VNode , DOMRect > ( )
3333const newPositionMap = new WeakMap < VNode , DOMRect > ( )
@@ -135,7 +135,7 @@ const TransitionGroupImpl: ComponentOptions = /*@__PURE__*/ decorate({
135135 const filteredProps : Record < string , any > = { }
136136 for ( const key in rawProps ) {
137137 if (
138- ! ( key in TransitionPropsValidators ) &&
138+ ! hasOwn ( TransitionPropsValidators , key ) &&
139139 key !== 'tag' &&
140140 key !== 'moveClass'
141141 ) {
@@ -179,8 +179,7 @@ const TransitionGroupImpl: ComponentOptions = /*@__PURE__*/ decorate({
179179 warn ( `<TransitionGroup> children must be keyed.` )
180180 }
181181 }
182-
183- return createVNode ( tag , filteredProps , children )
182+ return createVNode ( tag , tag === Fragment ? null : filteredProps , children )
184183 }
185184 } ,
186185} )
You can’t perform that action at this time.
0 commit comments