Skip to content

Comments inside Transition are considered as a node #5675

@HassanZahirnia

Description

@HassanZahirnia

Version

3.2.31

Reproduction link

sfc.vuejs.org/

Steps to reproduce

Just add comments inside Transition and you can see it breaks by showing a <transition> can only be used on a single element or component error

What is expected?

The transition component should work as expected since comments are not real DOM elements.

What is actually happening?

Vue shows an error saying:
can only be used on a single element or component

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions