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.

md to mat : missing some elements

See original GitHub issue

Bug, feature request, or proposal:

Bug

What is the expected behavior?

When I use a tag starting with mat-, I expect it to behave like a material directive, and when I use a tag starting with md-, I don’t expect it to behave like a material directive

What is the current behavior?

See above

What are the steps to reproduce?

The concerned tag is mat-card-actions, I need to use md-card-actions

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

2.0.0-beta.12

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
ghostcommented, Nov 2, 2017

Oh ok, I tried to reproduce it on StackBlitz (thanks for it BTW, I was doing my best on Plunkr for reproduction), and it did the same.

It’s only when I saw your 3) that I got it : there’s a negative margin of -16px.

Since I’m using a 12px padding, that’s why it seems “better” with md !

Sorry for bothering you, I’m closing this issue now.

0reactions
angular-automatic-lock-bot[bot]commented, Jun 2, 2021

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

Do I have to every mdMenu to matMenu, because md ... - GitHub
The latest release is missing the md prefix, do I have to remove everything to mat perfix? What is the expected behavior? md...
Read more >
Angular Material - Missing classes (ex: md-2-line)
I did a bower install angular-material so I am assuming that in the components->list->js->list.css I should see these classes like in the scss ......
Read more >
Tabs - Angular Material
The selector for the host element of a MatTabGroup instance. Methods. async. getSelectedTab. Gets the selected tab of the tab group.
Read more >
Use of Medication-Assisted Treatment in Emergency ...
MAT, specifically opioid agonists such as methadone and buprenorphine, are highly effective treatments for OUD, decreasing illicit opioid use, craving, and.
Read more >
mat-checkbox, Angular material checkbox component Usage ...
To use <mat-checkbox> we have to import MatCheckboxModule from @angular/Material module. We can import MatCheckboxModule in our components .ts file or app.
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