Closed
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
14.2.7
Description
If a mat-action-list is used with a disabled action, the list item is greyed out, but one can still interact with it, e. g. click on it.
Reproduction
StackBlitz
https://stackblitz.com/edit/angular-y6ecj5-wsih76?file=src/app/list-overview-example.html
Steps to reproduce:
- Click on the disabled list item
- See the action
Expected Behavior
The list item should not react to clicks (no ripple, no action).
Actual Behavior
A ripple is shown on the list item and the click action is triggered and executed.
Environment
- Angular: 15.1.1
- CDK/Material: 15.1.1
- Browser(s): Chrome
- Operating System (e.g. Windows, macOS, Ubuntu):