Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kseamon committed Jun 26, 2020
1 parent 5b0803a commit 672d374
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/material/tooltip/tooltip.ts
Original file line number Diff line number Diff line change
Expand Up @@ -613,6 +613,10 @@ export class MatTooltip implements OnDestroy, AfterViewInit {
});
}

private _platformSupportsMouseEvents() {
return !this._platform.IOS && !this._platform.ANDROID;
}

/** Disables the native browser gestures, based on how the tooltip has been configured. */
private _disableNativeGesturesIfNecessary() {
const gestures = this.touchGestures;
Expand Down Expand Up @@ -750,10 +754,6 @@ export class TooltipComponent implements OnDestroy {
this._onHide.complete();
}

private _platformSupportsMouseEvents() {
return !this._platform.IOS && !this._platform.ANDROID;
}

_animationStart() {
this._closeOnInteraction = false;
}
Expand Down

0 comments on commit 672d374

Please sign in to comment.