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

Click on disabled paper-item in paper-menu it closes the menu dropdown #106

Open
1 of 8 tasks
prudhvit opened this issue Oct 24, 2016 · 0 comments
Open
1 of 8 tasks

Comments

@prudhvit
Copy link

prudhvit commented Oct 24, 2016

Description

Click on disabled paper-item in paper-menu it closes the paper-menu dropdown please refer the code

Expected outcome

Drop down menu should not close when click on disabled menu item

Actual outcome

Drop down menu is closing when click on disabled menu item

Live Demo

<paper-header-panel id ="coreHeaderPanel" mode="standard"> <paper-toolbar id="controls" class="horizontal-section"> <paper-menu-button vertical-align="top" horizontal-align="left" title="Main menu" id="mainMenu"> <paper-icon-button icon="menu" class="dropdown-trigger" alt="menu"></paper-icon-button> <paper-menu class="dropdown-content"> <paper-item id="1">1</paper-item> <paper-item id="2"disabled="true">2</paper-item> <paper-item id="3"disabled="true">3</paper-item> <paper-item id="4">3</paper-item> <paper-item id="5" disabled="true">4</paper-item> </paper-menu> </paper-menu-button> </paper-toolbar> </paper-header-panel>

Steps to reproduce

  1. click on menu icon (it opens menu dropdown).
  2. click on any disabled menu item.

Browsers Affected

  • Chrome
  • Firefox
  • Safari 9
  • Safari 8
  • Safari 7
  • Edge
  • IE 11
  • IE 10
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