Skip to content

Commit a7d97d6

Browse files
crisbetowagnermaciel
authored andcommitted
fix(material-experimental/mdc-button): incorrect metadata for fab anchor (#24179)
Fixes that the FAB anchor was using the button inputs instead of the anchor ones. Fixes #24145. (cherry picked from commit d4a114b)
1 parent 8bc1dff commit a7d97d6

File tree

1 file changed

+1
-1
lines changed
  • src/material-experimental/mdc-button

1 file changed

+1
-1
lines changed

src/material-experimental/mdc-button/fab.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ export class MatMiniFabButton extends MatButtonBase {
142142
selector: `a[mat-fab]`,
143143
templateUrl: 'button.html',
144144
styleUrls: ['fab.css'],
145-
inputs: [...MAT_BUTTON_INPUTS, 'extended'],
145+
inputs: [...MAT_ANCHOR_INPUTS, 'extended'],
146146
host: {
147147
...MAT_ANCHOR_HOST,
148148
'[class.mdc-fab--extended]': 'extended',

0 commit comments

Comments
 (0)