Menu appears after md-card instead of over it.
See original GitHub issueHi, guys!
In my opinion, this menu should appear over the md-card
, just below the trigger button, right?
'use strict';
import { Component } from '@angular/core';
@Component({
selector: 'tbv-test',
template: `
<md-toolbar color="primary">
<button md-icon-button disableRipple [md-menu-trigger-for]="menu">
<md-icon>more_vert</md-icon>
</button>
<md-menu #menu>
<button md-menu-item> I shouldn't </button>
<button md-menu-item> be here :'( </button>
</md-menu>
</md-toolbar>
<md-card>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Nobis quibusdam laboriosam minus accusamus, possimus delectus quos, id autem repellendus. Facilis fuga earum accusamus aut totam nisi maxime adipisci, cum saepe.</p>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Nobis quibusdam laboriosam minus accusamus, possimus delectus quos, id autem repellendus. Facilis fuga earum accusamus aut totam nisi maxime adipisci, cum saepe.</p>
</md-card>
`,
})
export class TestComponent {
constructor() {}
}
I’m using Angular 2.0.0-rc.5 and material 2.0.0-alpha.7 on both Chrome and Edge.
Issue Analytics
- State:
- Created 7 years ago
- Reactions:1
- Comments:9 (3 by maintainers)
Top Results From Across the Web
Why MDCard not able to add on_touch_down in KivyMD?
The on_touch_down is an event that you can bind to, it is not a property of the MDCard that you can set. So...
Read more >Card - KivyMD 1.1.1 documentation
KivyMD provides the following card classes for use: MDCard. MDCardSwipe ... use all parameters and attributes of the BoxLayout class in the MDCard...
Read more >White Screen "?MENU" With r4 Card - Nintendo DSi - iFixit
All it shows when I open up the r4 game is a white screen with a red SD card with “menu” written in...
Read more >How to Fix SD Card Not Detected / Showing Up / Recognized ...
How to recover files from corrupted SD card ? https://bit.ly/38wXj20Today's video is going to help you resolve SD card not detected/ showing ......
Read more >The Wii SD Card Menu: A Walkthrough - News
This new menu allows you to load games directly from the SD Card, instead of having to constantly copy them over to the...
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
@andregs Although I haven’t checked your code, I had a very similar issue. In my case I had to manually load
core/overlay/overlay.css
, otherwise every single element that used overlay was positioned way off, just like in your case. I might just overlooked it, but it should either be mentioned in the docs or make it load automatically somehow. Similar issue to #972 imo.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.