Skip to content

Commit

Permalink
fix(material/core): ripple element not destroyed after trigger change (
Browse files Browse the repository at this point in the history
…#29010) (#29012)

(cherry picked from commit 8420471)
  • Loading branch information
enten authored and crisbeto committed May 9, 2024
1 parent 0eb256a commit 0b30688
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/material/core/ripple/ripple-renderer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -433,6 +433,8 @@ export class RippleRenderer implements EventListenerObject {
pointerUpEvents.forEach(type =>
trigger.removeEventListener(type, this, passiveCapturingEventOptions),
);

this._pointerUpEventsRegistered = false;
}
}
}
Expand Down

0 comments on commit 0b30688

Please sign in to comment.