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

Click on paper-menu-button inside paper-menu #100

Open
3 of 8 tasks
Chabane opened this issue Aug 10, 2016 · 0 comments
Open
3 of 8 tasks

Click on paper-menu-button inside paper-menu #100

Chabane opened this issue Aug 10, 2016 · 0 comments

Comments

@Chabane
Copy link

Chabane commented Aug 10, 2016

Hi,

Description

The click on paper-menu-button cause the dropdown of the submenu.

Expected outcome

I need to open paper-menu-button without opening the submenu

Actual outcome

Live Demo

http://jsbin.com/minofutexi/edit?html,output

Steps to reproduce

Add the code below :

<paper-menu>
  <paper-submenu>
    <paper-item class="menu-trigger">Topics
      <paper-menu-button>
        <button icon="menu" class="dropdown-trigger">click</button>
        <paper-menu class="dropdown-content">
          <paper-item>Share</paper-item>
          <paper-item>Settings</paper-item>
          <paper-item>Help</paper-item>
        </paper-menu>
      </paper-menu-button>
    </paper-item>
    <paper-menu class="menu-content">
      <paper-item>Topic 1</paper-item>
      <paper-item>Topic 2</paper-item>
      <paper-item>Topic 3</paper-item>
    </paper-menu>
   </paper-submenu>
   <paper-submenu>
    <paper-item class="menu-trigger">Faves</paper-item>
    <paper-menu class="menu-content">
      <paper-item>Fave 1</paper-item>
      <paper-item>Fave 2</paper-item>
    </paper-menu>
  </paper-submenu>
  <paper-submenu disabled>
    <paper-item class="menu-trigger">Unavailable</paper-item>
    <paper-menu class="menu-content">
      <paper-item>Disabled 1</paper-item>
      <paper-item>Disabled 2</paper-item>
    </paper-menu>
  </paper-submenu>
</paper-menu>

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