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

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant