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.

matTooltipClass doesn't seem to work in 5.0

See original GitHub issue

Bug, feature request, or proposal:

Bug

What is the expected behavior?

Apply class passed in the [matTooltipClass]

What is the current behavior?

Class passed is not applied

What are the steps to reproduce?

Providing a StackBlitz/Plunker (or similar) is the best way to get the team to see your issue.
Plunker starter (using on @master): https://goo.gl/uDmqyY
StackBlitz starter (using latest npm release): https://goo.gl/wwnhMV
add a class and see if it gets applied

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

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

Angular 5, Material 5, mac Sierra, Typescript 2.4.2, chrome

Is there anything else we should know?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:2
  • Comments:11 (4 by maintainers)

github_iconTop GitHub Comments

5reactions
willshowellcommented, Nov 8, 2017

@gzamb I moved the style to the global styles and it appears to work fine,

https://stackblitz.com/edit/angular-material2-issue-tgr3bd?file=app/app.component.ts

Maybe this guide can help explain the behavior.

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

matTooltipClass not applying css
I am attempting to apply some css changes to mat-tooltip from angular material 2 and found in the documentation a matTooltipClass that can...
Read more >
Styling Angular Material tooltips - Siderite's Blog
However, it doesn't seem to be working. The styling for myTooltipClass does not apply. Here are some points to check off while searching...
Read more >
Displaying text in a tool tip when text overflows its container | by Tai ...
In several apps I work on, we use angular material to display data in a table. ... angular — matTooltipClass not applying css...
Read more >
Angular Material 10|9 Adding Tooltips with Options Tutorial ...
In this Angular Material tutorial, we'll learn How to Add Tooltip using Material UI matTooltip component in the Angular 10/9/8/7/6/5/4 project.
Read more >
How to use matTooltip in Angular Material
Angular Material is a UI component library developed by Angular team to build design components for desktop and mobile web applications.
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