Skip to content

When disable a mat-button, the button is hided and not disabled. #8859

@Borki

Description

@Borki

Bug:

When disabling a button, the button is hide and not just disabled.

What is the expected behavior?

When disabling a button, the button is disabled and not hided

What is the current behavior?

When disabling a button, the button is hide and not just disabled.

What are the steps to reproduce?

<button mat-button [disabled]="true">

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

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

"@angular/core": "^5.1.0"
"@angular/material": "5.0.0-"
"typescript": "~2.4.2"

Is there anything else we should know?

Metadata

Metadata

Assignees

No one assigned

    Labels

    cannot reproduceThe team is unable to reproduce this issue with the information provided

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions