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.

No Provider for MdTooltip

See original GitHub issue

Bug, feature request, or proposal:

When I inject the MdTooltip service into a component I get a No Provider for MdTooltip error. All other material components I use are working fine. Tooltips work fine too except for the injecting.

What is the expected behavior?

No runtime error.

What is the current behavior?

No Provider for MdTooltip

What are the steps to reproduce?

Create a new ng-cli app and inject MdTooltip. Example plnkr: http://plnkr.co/edit/UIzqoHLPqWMk2W0H5pRj?p=preview

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

Using MdTooltip service functions such as show()

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

@angular/cli: 1.3.1 node: 7.6.0 os: darwin x64 @angular/animations: 4.3.5 @angular/cdk: 2.0.0-beta.8 @angular/common: 4.3.5 @angular/compiler: 4.3.5 @angular/core: 4.3.5 @angular/flex-layout: 2.0.0-rc.1 @angular/forms: 4.3.5 @angular/http: 4.3.5 @angular/material: 2.0.0-beta.8 @angular/platform-browser: 4.3.5 @angular/platform-browser-dynamic: 4.3.5 @angular/router: 4.3.5 @angular/cli: 1.3.1 @angular/compiler-cli: 4.3.5 @angular/language-service: 4.3.5

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:11 (8 by maintainers)

github_iconTop GitHub Comments

2reactions
crisbetocommented, Aug 22, 2017

@joejordanbrown not being able to open the tooltip on click is definitely a bug. It’ll be resolved by https://github.com/angular/material2/pull/6590.

0reactions
angular-automatic-lock-bot[bot]commented, Sep 6, 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

Using mdTooltip in Angular-CLI Project - Stack Overflow
Right now I see a button in my component view. But no tooltip shows up when I hover over or click on the...
Read more >
Tooltip - Angular Material
UI component infrastructure and Material Design components for mobile and desktop Angular web applications.
Read more >
Directives > mdTooltip - AngularJS Material
mdTooltip API Documentation​​ Tooltips are used to describe elements that are interactive and primarily graphical (not textual). Place a <md-tooltip> as a child ......
Read more >
angular/material2 - Gitter
i am getting this error exception:No provider for Overlay! Ashley L Hill ... and what are you importing on top ? import {...
Read more >
Existing solution for discussion implementations-angular.js
How to bundle an Angular app for production · Angular no provider for NameService ... Angular Material 2 Md-ToolTip with show conditionally ...
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