Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tapping mdl-button is not toggling mdl-menu #1208

Open
AmmarHasan opened this issue Sep 22, 2017 · 0 comments
Open

Tapping mdl-button is not toggling mdl-menu #1208

AmmarHasan opened this issue Sep 22, 2017 · 0 comments

Comments

@AmmarHasan
Copy link

AmmarHasan commented Sep 22, 2017

Tapping mdl-button associated with mdl-menu is not toggling the menu, however, clicking the button works fine.

On Click:
click-menu

On Tap:
tap-menu

<button mdl-button #btn1="mdlButton" 
 (click)="m1.toggle($event, btn1)" mdl-button-type="icon" mdl-ripple>
  <mdl-icon>more_vert</mdl-icon>
</button>

<mdl-menu #m1="mdlMenu" mdl-menu-position="bottom-left">
 <mdl-menu-item> Action</mdl-menu-item>
</mdl-menu>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant