-
Notifications
You must be signed in to change notification settings - Fork 6.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug(material/core): ripple element not destroyed after trigger change #29010
Labels
area: material/core
P3
An issue that is relevant to core functions, but does not impede progress. Important, but not urgent
Comments
enten
added a commit
to enten/components
that referenced
this issue
May 7, 2024
enten
added a commit
to enten/components
that referenced
this issue
May 7, 2024
enten
changed the title
bug(MatRipple): pointer up events are registered once
bug(MatRipple): ripple element not destroyed after trigger change
May 7, 2024
enten
changed the title
bug(MatRipple): ripple element not destroyed after trigger change
bug(material/core): ripple element not destroyed after trigger change
May 8, 2024
crisbeto
added
P3
An issue that is relevant to core functions, but does not impede progress. Important, but not urgent
area: material/core
and removed
needs triage
This issue needs to be triaged by the team
labels
May 8, 2024
crisbeto
pushed a commit
that referenced
this issue
May 9, 2024
crisbeto
pushed a commit
that referenced
this issue
May 9, 2024
crisbeto
pushed a commit
that referenced
this issue
May 9, 2024
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
area: material/core
P3
An issue that is relevant to core functions, but does not impede progress. Important, but not urgent
Is this a regression?
The previous version in which this bug was not present was
9.2.0
Description
The
RippleRenderer
register pointer up events only once: that "breaks"matRippleTrigger
input fromMatRipple
directive and prevents destruction of new ripple elements after trigger element change.This issue was introduced since @angular/material v9.2.1 (commit 9a16e60 in GH-18633 ).
How to fix: mark pointer up events as not registered in
RippleRenderer::_removeTriggerEvents
.Reproduction
StackBlitz link: https://stackblitz.com/edit/components-issue-z9j3qe
Steps to reproduce:
Result:
Expected Behavior
The
RippleRenderer
must register pointer up events each time a trigger is setup.Actual Behavior
The
RippleRenderer
currently register pointer up events only once.Environment
The text was updated successfully, but these errors were encountered: