Skip to content

[MatSort] sort function doesn't render sorting arrow #15715

@vadjs

Description

@vadjs

What is the expected behavior?

sort function in MatSort should update sorting arrow rendering state.

What is the current behavior?

Currently sort function in MatSort not updating sorting arrow rendering state.

What are the steps to reproduce?

https://stackblitz.com/edit/angular-cfcugl-17fxat
If you click "sort by name" button you will see this bug.
"Sort with fix" button shows the easiest way to fix this bug.

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

All

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/sortgood first issueLabel noting a good first issue to be worked on by a community memberhelp wantedLabel noting an issue which the team is looking for contribution from the community to fix

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions