-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Open
Labels
needs triageThis issue needs to be triaged by the teamThis issue needs to be triaged by the team
Description
Is this a regression?
- Yes, this behavior used to work in the previous version
The previous version in which this bug was not present was
No response
Description
The matFab button behaves differently from matButton with the disabledInteractive property. When hovering or clicking the FAB button, it will animate the box shadow such that it looks interactive even if its not.
20251022-0910-05.3975121.mp4
20251022-0916-20.3112144.mp4
Reproduction
StackBlitz link: https://stackblitz.com/edit/rfnrrfrf?file=src%2Fexample%2Fbutton-disabled-interactive-example.css
Steps to reproduce:
- Create a
matFabwithdisabled+disabledInteractive - Hover the button
- Click the button
Expected Behavior
- No hover box-shadow changes
- No mousedown changes
Actual Behavior
- Hover will "raise" the button (increase box-shadow)
- Clicking the button animates it
Environment
- Angular: 20.2.9
- CDK/Material: 20.2.2
- Browser(s): Chrome/Edge (probably all)
- Operating System (e.g. Windows, macOS, Ubuntu): Windows
Metadata
Metadata
Assignees
Labels
needs triageThis issue needs to be triaged by the teamThis issue needs to be triaged by the team