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

mdcMenu demo: menu can't be opened after being closed by clicking disabled item #87

Closed
jorgevargas1989 opened this issue Nov 25, 2017 · 1 comment · Fixed by #89
Closed

Comments

@jorgevargas1989
Copy link
Member

The mdcMenu closes when you click on a disabled menu item. After that you can't open it again. To reproduce:

  1. Go to the mdcMenu demo: http://localhost:8090/material/components/menu
  2. Click on the "Reveal" button
  3. Click on the "Forward" menu item (that's a disabled menu item). Still the menu is closed
  4. Click on the "Reveal" button. The menu doesn't open. I would expect it to open again.
@gjdev
Copy link
Member

gjdev commented Nov 27, 2017

This is caused by MDC bug material-components/material-components-web#1495. We rely on notifyCancel/notifySelected to be called when the menu closes, but this is not happening consistently. I will have a look if we can workaround this in some way, as the upstream bug doesn't seem to get any love ;-).

gjdev added a commit that referenced this issue Nov 27, 2017
@gjdev gjdev closed this as completed in #89 Nov 27, 2017
gjdev added a commit that referenced this issue Nov 27, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging a pull request may close this issue.

2 participants