Components don't render when the Transition mode is "out-in"
Vue version
3.2.33
Link to minimal reproduction
Steps to reproduce
Open the SFC link I submitted and click the button to switch components
What is expected?
Render the component and perform the animation according to the mode, or prompt: it is not allowed to use comments on the first line of the template of the component
What is actually happening?
Components do not render
System Info
no
Any additional comments?
No response
Looks good when remove this comment in component
<!-- info -->
I guess the reason is that the Transition can only have one node playground
Looks good when remove this comment in component
<!-- info -->
I guess the reason is that the Transition can only have one node playground
You're right, but i don't think comment is node in Transition unless Vue warns: Component inside renders non-element root node that cannot be animated.
Root level comments is working when Transition's mode with "default" or "in-out", why not when the mode with "out-in"?
duplicate of https://github.com/vuejs/core/pull/6238