Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

Issue with md-menu inside md-dialog #3821

Closed
no-more opened this issue Jul 20, 2015 · 2 comments
Closed

Issue with md-menu inside md-dialog #3821

no-more opened this issue Jul 20, 2015 · 2 comments

Comments

@no-more
Copy link

no-more commented Jul 20, 2015

Hi,

I have a strange issue, when putting a md-menu inside a md-dialog element it will close the dialog when I open the menu, the menu shows briefly and then is closed too.

I have this issue for some time now, but not always, this may be related to the master version I'm using. I currently have this with the last master release.

Thanks.

@no-more
Copy link
Author

no-more commented Jul 20, 2015

I may have found something about this issue, it seems to be related to the form. if I put the menu element out of the form I don't have the issue any more.

If I had type='button' to the md-buton of the menu it also fix the issue.

I'm not sure if this should be the default behavior but if that's it the docs should specify the type by default.

Thanks

@Smolations
Copy link

Thanks for posting back your solutions, @no-more. I just encountered the same issue and was getting frustrated. 👍

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants