Skip to content

[Sort] Arrow shown if parent called animateChild() #9844

Closed
@hanyu-natsu

Description

@hanyu-natsu

Bug, feature request, or proposal:

Bug

What is the expected behavior?

Sort header arrow and indicator should animate normally if any parent animation calls "animateChild()" with query.

What is the current behavior?

The mat-sort-header-arrow animation is stuck with "ng-animate-queued" status. All arrows are shown when the DOM is rendered.

What are the steps to reproduce?

Providing a StackBlitz reproduction is the best way to share your issue.

StackBlitz starter: https://goo.gl/wwnhMV

https://stackblitz.com/edit/angular-material2-issue-6jcfm7?file=main.ts

What is the use-case or motivation for changing an existing behavior?

Add fade in animation to the table when entering. This was working in 5.1.0.

Which versions of Angular, Material, OS, TypeScript, browsers are affected?

angular material & cdk 5.2.0

Is there anything else we should know?

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: material/sort

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions