-
Notifications
You must be signed in to change notification settings - Fork 6.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[MatTooltip] The MatTooltip is showing on click on mobile #12223
Comments
What kind of device are you testing against? I couldn't reproduce it on iOS. |
I'm on a Google pixel 2
On Mon, Jul 16, 2018, 15:05 Kristiyan Kostadinov ***@***.***> wrote:
What kind of device are you testing against? I couldn't reproduce it on
iOS.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#12223 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ACtpmeWzHqJtJMn0NdrGNMqdgGzezC-Gks5uHOPggaJpZM4VQZfD>
.
--
Jacques
|
Fixes the tooltip opening on clicks on Android devices. Also does some minor cleanup. Fixes angular#12223.
I'm still seeing this issue on iOS (multiple device models). We were mostly able to avoid it on Android by doing: But it still happens on iOS almost every time. |
Seems like the if statement should be if (!this._platform.IOS) instead of if (!_platform.IOS)? |
Fixes the tooltip opening on clicks on Android devices. Also does some minor cleanup. Fixes #12223.
Fixes the tooltip opening on clicks on Android devices. Also does some minor cleanup. Fixes #12223.
Fixes the tooltip opening on clicks on Android devices. Also does some minor cleanup. Fixes #12223.
…Closure property renaming Prevents potential name collisions on window object, due to Closure compiler property renaming, that result in incorrect detection of iOS and cause tooltips to show on tap. Fixes angular#12223
My solution: |
Same here on my Huwawei Mate 10 Lite. |
The @anthonyartese solution works like charm for me Angular 5! |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Bug, feature request, or proposal:
Bug
What is the expected behavior?
On mobile, the tool tip should appear on long-press, as per documentation.
What is the current behavior?
The tool tip appears on click.
What are the steps to reproduce?
What is the use-case or motivation for changing an existing behavior?
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Angular 6.0.6
Angular Material 6.3
Is there anything else we should know?
The text was updated successfully, but these errors were encountered: