Skip to content

Commit

Permalink
fix(material-experimental/mdc-button): incorrect metadata for fab anc…
Browse files Browse the repository at this point in the history
…hor (#24179)

Fixes that the FAB anchor was using the button inputs instead of the anchor ones.

Fixes #24145.

(cherry picked from commit d4a114b)
  • Loading branch information
crisbeto authored and wagnermaciel committed Jan 11, 2022
1 parent 8bc1dff commit a7d97d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/material-experimental/mdc-button/fab.ts
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ export class MatMiniFabButton extends MatButtonBase {
selector: `a[mat-fab]`,
templateUrl: 'button.html',
styleUrls: ['fab.css'],
inputs: [...MAT_BUTTON_INPUTS, 'extended'],
inputs: [...MAT_ANCHOR_INPUTS, 'extended'],
host: {
...MAT_ANCHOR_HOST,
'[class.mdc-fab--extended]': 'extended',
Expand Down

0 comments on commit a7d97d6

Please sign in to comment.