Skip to content

Commit f9c820a

Browse files
committed
chore(ripple): no longer update if _matRippleTrigger changes
* Since the `md-` prefix is now removed completely, the `_matRippleTrigger` property is just `trigger` now.
1 parent 0ea4370 commit f9c820a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/core/ripple/ripple.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ export class MatRipple implements OnChanges, OnDestroy {
100100
}
101101

102102
ngOnChanges(changes: SimpleChanges) {
103-
if ((changes['trigger'] || changes['_matRippleTrigger']) && this.trigger) {
103+
if (changes['trigger'] && this.trigger) {
104104
this._rippleRenderer.setTriggerElement(this.trigger);
105105
}
106106

0 commit comments

Comments
 (0)