question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

MdTooltip broke the app after beta.11

See original GitHub issue

Bug, feature request, or proposal:

Bug: MdTooltip broke my app after upgrade to beta.11

What is the expected behavior?

Before beta.11 the usage of MdTooltip was working as expected.

What is the current behavior?

Do not display my cards and broke the app.

What are the steps to reproduce?

Just create a simple button with a tooltip like this:

<button md-button md-tooltip="just a test" >
  <md-icon>play_arrow</md-icon>
</button>

What is the use-case or motivation for changing an existing behavior?

Avoid this error.

Which versions of Angular, Material, OS, browsers are affected?

angular-cli: 1.0.0-beta.22-1 @angular: 2.2.3 @angular/material: 2.0.0-alpha.11-3 node: 6.5.0 os: darwin x64

Is there anything else we should know?

Here it goes a print screen of the error on Chrome console.

screen shot 2016-12-09 at 21 52 12

I have no idea what this error means, but if I remove the tooltip from the button everything works as expected.

Thank you.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:15 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
paulogrcommented, Dec 10, 2016

Thank you @dahaupt and @crisbeto for your help.

After some debugging and testing the md-tooltip in other sections of my app finally I got an error message that shows me I miss to include the hammerJS on my app.

Just included HammerJS on my app and don’t get this error anymore.

That said, now my question is…

Is this mandatory to use hammerJS now? Before beta.11 I never needed to include HammerJS and the docs said to include only if you are using md-slide-toggle or md-slider https://github.com/angular/material2/blob/master/GETTING_STARTED.md#additional-setup-for-md-slide-toggle-and-md-slider

0reactions
angular-automatic-lock-bot[bot]commented, Sep 5, 2019

This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

Read more comments on GitHub >

github_iconTop Results From Across the Web

md-tooltip eats the button click on mobile · Issue #2326 - GitHub
Hello, is this fix part of the new beta2 release? All reactions.
Read more >
Distributing your app for beta testing and releases
Overview. After you thoroughly test your app in Xcode, distribute it to beta testers or release it to users to run on their...
Read more >
Material angular, md vs mat , @angular/material@2.0.0-beta ...
I've just updated angular material via NPM (@angular/material@2.0.0-beta.11-53c42a4). Now my apps doesn't work anymore, because syntax ...
Read more >
Try new Android apps before their official release
Get beta versions of apps · Open the Play Store Google Play . · At the top right, tap the profile icon. ·...
Read more >
Mobile App Beta Testing: Breaking Down the Basics - Messapps
Wise developers seldom neglect to test their app's quality both before and after launch day. Here's what you'll need to know.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found