We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 936c580 commit fd175b4Copy full SHA for fd175b4
src/material/core/private/ripple-loader.ts
@@ -120,7 +120,7 @@ export class MatRippleLoader implements OnDestroy {
120
121
/** Handles creating and attaching component internals when a component it is initially interacted with. */
122
private _onInteraction = (event: Event) => {
123
- if (event.target === this._document) {
+ if (!(event.target instanceof HTMLElement)) {
124
return;
125
}
126
const eventTarget = event.target as HTMLElement;
0 commit comments