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.
DOMRect
Position
1 parent d70dd9f commit 595a937Copy full SHA for 595a937
packages/runtime-dom/src/components/TransitionGroup.ts
@@ -27,13 +27,8 @@ import {
27
} from '@vue/runtime-core'
28
import { extend } from '@vue/shared'
29
30
-interface Position {
31
- top: number
32
- left: number
33
-}
34
-
35
-const positionMap = new WeakMap<VNode, Position>()
36
-const newPositionMap = new WeakMap<VNode, Position>()
+const positionMap = new WeakMap<VNode, DOMRect>()
+const newPositionMap = new WeakMap<VNode, DOMRect>()
37
38
export type TransitionGroupProps = Omit<TransitionProps, 'mode'> & {
39
tag?: string
0 commit comments