Skip to content

Commit 8c21385

Browse files
committed
fix
1 parent 540a4cd commit 8c21385

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/material/tooltip/tooltip.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -613,6 +613,10 @@ export class MatTooltip implements OnDestroy, AfterViewInit {
613613
});
614614
}
615615

616+
private _platformSupportsMouseEvents() {
617+
return !this._platform.IOS && !this._platform.ANDROID;
618+
}
619+
616620
/** Disables the native browser gestures, based on how the tooltip has been configured. */
617621
private _disableNativeGesturesIfNecessary() {
618622
const gestures = this.touchGestures;
@@ -750,10 +754,6 @@ export class TooltipComponent implements OnDestroy {
750754
this._onHide.complete();
751755
}
752756

753-
private _platformSupportsMouseEvents() {
754-
return !this._platform.IOS && !this._platform.ANDROID;
755-
}
756-
757757
_animationStart() {
758758
this._closeOnInteraction = false;
759759
}

0 commit comments

Comments
 (0)