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
(mousedown)="$event.stopPropagation()" stopped MatRipple from doing animations triggered by child components
Description
With Angular Material 14 it was possible to stop the MatRipple from getting triggered by child components utilizing a (mousedown)="$event.stopPropagation()"
. With Angular 15 it somehow stopped working. It is still working for simple scenarios but somehow not e.g. in MatTable
Reproduction
In this stackblitz AngularMaterial15 the column NoRipple is still triggering MatRipple while it wasn't with AngularMaterial14.
Expected Behavior
Be able to let e.g. buttons in the table not trigger the row's ripple effect.
Actual Behavior
Row's MatRipple effect always gets triggered.
Environment
- Angular: 15
- CDK/Material: 15