matTooltipClass doesn't seem to work in 5.0
See original GitHub issueBug, 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:
- Created 6 years ago
- Reactions:2
- Comments:11 (4 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@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.
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.