Skip to content

Alpha 10: Background for md-fab on <a> different then on <button> #1843

@elvirdolic

Description

@elvirdolic

Bug, feature request, or proposal:

Bug?

What is the expected behavior?

if you use the md-fab directive on a button the primary background color is set if you use it on a link it'ts not

What is the current behavior?

Same behavior should be for as it is for

What are the steps to reproduce?

```
<a md-fab href="http://orderlink" target="_blank">
		<md-icon class="md-24">add_shopping_cart</md-icon>
	</a>

vs

	```
<button md-fab (click)="openUploadDocumentDialog()" [disabled]="dialogRef">
            <md-icon class="md-24">add</md-icon>
        </button>

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

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

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