-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Closed
Labels
P2The issue is important to a large percentage of users, with a workaroundThe issue is important to a large percentage of users, with a workaroundarea: material/button
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
15.2.8
Description
When adding the 'disableRipple' property to a material button, this should stop adding a ripple effect for when the button is clicked. Instead the ripple is still enabled.
This was not an issue in previous versions of Angular Material. Have projects with an old version of Angular and Mterial where I have successfully disabled this animation/effect.
Reproduction
Could not get StackBlitz to work with the latest version of Angular Material.
Steps to reproduce:
- Create a button
- Add 'mat-button' property to the button
- Add a 'disableRipple' property to the button
- Go to the site and click the button
Expected Behavior
Ripple effect should be disabled and not visible when user clicks a material button.
Actual Behavior
Ripple effect is visible when user clicks on a material button.
Environment
- Angular: v16.1.4
- CDK/Material: v16.0.6/v16.1.4
- Browser(s): Tested on Microsoft Edge, Firefox.
- Operating System (e.g. Windows, macOS, Ubuntu): Windows
Metadata
Metadata
Assignees
Labels
P2The issue is important to a large percentage of users, with a workaroundThe issue is important to a large percentage of users, with a workaroundarea: material/button