-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(material/core):
mat-ripple-element
is not fired on disable (#22537
) * fix(material/core): `mat-ripple-element` is not fired on disable When button becomes disabled after the ripple initiated and before the ripple animation is completed, it will somestimes not fire the `mat-ripple-element` correctly. Adding the `fadeOutAll()` method when set to disable will fix this issue. Fixes #22520 * fix(material/core): mat-ripple-element is not fired on disable When button becomes disabled after the ripple initiated and before the ripple animation is completed, it will sometimes not fire the `mat-ripple-element` correctly. Add a `fadeOutAllNonPersistent` method in `ripple-renderer.ts` to fade out all non persistent ripples and let it be triggered on disable. It should fix this issue. Fixes #22520 * fix(material/core): mat-ripple-element is not fired on disable When button becomes disabled after the ripple initiated and before the ripple animation is completed, it will sometimes not fire the `mat-ripple-element` correctly. Add a `fadeOutAllNonPersistent` method in `ripple-renderer.ts` to fade out all non persistent ripples and let it be triggered on disable. It should fix this issue. Fixes #22520 * fix(material/core): mat-ripple-element is not fired on disable When button becomes disabled after the ripple initiated and before the ripple animation is completed, it will sometimes not fire the `mat-ripple-element` correctly. Add a `fadeOutAllNonPersistent` method in `ripple-renderer.ts` to fade out all non persistent ripples and let it be triggered on disable. It should fix this issue. Fixes #22520 (cherry picked from commit 491d2ec)
- Loading branch information
1 parent
33104b6
commit 62b2142
Showing
4 changed files
with
37 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters