Skip to content

[MatSort ] ExpressionChangedAfterItHasBeenCheckedError with aria-sort #15848

@Xen3r0

Description

@Xen3r0

What is the expected behavior?

What is the current behavior?

I have a ExpressionChangedAfterItHasBeenCheckedError :

Error: ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: 'aria-sort: null'. Current value: 'aria-sort: ascending'.

How can i fix this ?

What are the steps to reproduce?

Example: https://stackblitz.com/edit/angular-vqqick

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

Angular: 7.2.13
Material: 7.3.7
Browser : chrome (latest)

Is there anything else we should know?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions