diff --git a/src/core/vdom/patch.js b/src/core/vdom/patch.js index fb28d8cd341..676499dc69e 100644 --- a/src/core/vdom/patch.js +++ b/src/core/vdom/patch.js @@ -272,7 +272,7 @@ export function createPatchFunction (backend) { function insert (parent, elm, ref) { if (isDef(parent)) { if (isDef(ref)) { - if (ref.parentNode === parent) { + if (nodeOps.parentNode(ref) === parent) { nodeOps.insertBefore(parent, elm, ref) } } else {