We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3cda98a commit 34bc14eCopy full SHA for 34bc14e
src/core/vdom/patch.js
@@ -412,7 +412,7 @@ export function createPatchFunction (backend) {
412
if (sameVnode(elmToMove, newStartVnode)) {
413
patchVnode(elmToMove, newStartVnode, insertedVnodeQueue)
414
oldCh[idxInOld] = undefined
415
- canMove && nodeOps.insertBefore(parentElm, newStartVnode.elm, oldStartVnode.elm)
+ canMove && nodeOps.insertBefore(parentElm, elmToMove.elm, oldStartVnode.elm)
416
newStartVnode = newCh[++newStartIdx]
417
} else {
418
// same key but different element. treat as new element
0 commit comments