Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MdButton] styles get messed up #2059

Closed
eagle-dan1349 opened this issue Dec 2, 2016 · 4 comments
Closed

[MdButton] styles get messed up #2059

eagle-dan1349 opened this issue Dec 2, 2016 · 4 comments

Comments

@eagle-dan1349
Copy link

Bug, feature request, or proposal:

[x] Bug

What is the expected behavior?

MdButton behavior is indifferent to hosting element, be it or

What is the current behavior?

When using 'md-button' on element, it attaches 'disabled' attribute.
Presence of 'disabled' attribute causes disabled state styles to be applied to button (no matter what is attribute's value).
In case of

tag, everything is fine

What are the steps to reproduce?

Create a page with link
Use md-button on it.
See styles broken.

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

Stable and consistent behavior of component.

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

Angular 2.2.4
Material 2.0.0-alpha.10

@fxck
Copy link
Contributor

fxck commented Dec 2, 2016

#1946

@eagle-dan1349
Copy link
Author

I used usual 'md-button', not 'md-raised-button'

@jelbourn
Copy link
Member

jelbourn commented Dec 2, 2016

Dupe of #1946 (applies to all kinds of button)

@jelbourn jelbourn closed this as completed Dec 2, 2016
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants