html comment inside <Transition> cannot be animated
Vue version
3
Link to minimal reproduction
Steps to reproduce
- Two components inside transition
- Component 1 includes html comment in the template root
- Switch state to trigger transition - transition breaks with no console warning
What is expected?
An error for multiple root components inside transition elements does not show when html comment is present inside template root. Vue warning should output when html comment is present in root component template:
Component inside <Transition> renders non-element root node that cannot be animated.
What is actually happening?
No condole warning is shown. Transition stops working on state change.
System Info
No response
Any additional comments?
No response