Skip to content

Commit 1bb7830

Browse files
committed
call pending enterCb before move
1 parent 270e468 commit 1bb7830

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Diff for: src/platforms/web/runtime/components/transition-group.js

+4
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,10 @@ export default {
9898
if (c.elm._moveCb) {
9999
c.elm._moveCb()
100100
}
101+
/* istanbul ignore if */
102+
if (c.elm._enterCb) {
103+
c.elm._enterCb()
104+
}
101105
const oldPos = c.data.pos
102106
const newPos = c.data.pos = c.elm.getBoundingClientRect()
103107
const dx = oldPos.left - newPos.left

0 commit comments

Comments
 (0)