diff --git a/src/core/morphing.js b/src/core/morphing.js index dfd21e839..f1af99755 100644 --- a/src/core/morphing.js +++ b/src/core/morphing.js @@ -9,7 +9,7 @@ export function morphElements(currentElement, newElement, { callbacks, ...option } export function morphChildren(currentElement, newElement) { - morphElements(currentElement, newElement.children, { + morphElements(currentElement, newElement.childNodes, { morphStyle: "innerHTML" }) }