You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error "Mismatching childNodes vs. VNodes" when having svg element with camelcase tag name such as "animateTransform", "animateMotion" or "linearGradient" in template
#4195
Closed
aprilandjan opened this issue
Nov 14, 2016
· 0 comments
replace template in assets/app.js with the template which have svg elements animateTransform or animateMotion(actually I copied the svg from MDN(animateTransform, animateMotion
restart the service, and browse the rendered page.
What is Expected?
The VNodes and the actual childNodes are matching.
What is actually happening?
warning and error occered: Mismatching childNodes vs. VNodes: [animatetransform]
What's more
It seems that if I use animatetransform instead of animateTransform, the rendered tag is still animateTransform but everything goes right
other tags with camelcase name such as 'animateMotion' 'linearGradiant' behave the same
The text was updated successfully, but these errors were encountered:
aprilandjan
changed the title
throw error "Mismatching childNodes vs. VNodes" when having svg element "animateTransform" or "" in template
Error "Mismatching childNodes vs. VNodes" when having svg element "animateTransform" or "animateMotion" in template
Nov 14, 2016
aprilandjan
changed the title
Error "Mismatching childNodes vs. VNodes" when having svg element "animateTransform" or "animateMotion" in template
Error "Mismatching childNodes vs. VNodes" when having svg element with camelcase tag name such as "animateTransform", "animateMotion" or "linearGradient" in template
Nov 14, 2016
Version
vue: 2.0.5,
vue-server-renderer: 2.0.5
Reproduction Link
DEMO
Steps to reproduce
template
inassets/app.js
with the template which have svg elementsanimateTransform
oranimateMotion
(actually I copied the svg from MDN(animateTransform, animateMotionWhat is Expected?
The VNodes and the actual childNodes are matching.
What is actually happening?
warning and error occered: Mismatching childNodes vs. VNodes: [animatetransform]
What's more
animatetransform
instead ofanimateTransform
, the rendered tag is stillanimateTransform
but everything goes rightThe text was updated successfully, but these errors were encountered: