Skip to content

Transition uses wrong leave-to class when HTML comments exists as template root #5500

Open
@gmichaeljaison

Description

Version

3.2.31

Reproduction link

stackblitz.com

Steps to reproduce

Refer the stackblitz link and reproduce the issue by clicking on "Page A" and "Page B" navigations.

What is expected?

Transition should work as expected and noted by the transition-name regardless of existence of comments, i.e.
Page A should slide left
Page B should slide right

What is actually happening?

Leave transition is not updated for Page component with comments.
Page A slides right on leave transition

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