polymer - paper-menu-button's dropdown (paper-menu) not overlaying other iron-list items -
i'm running issue using polymer 1.0's paper-menu-button
. it's dropdown menu isn't overlaying neighbouring iron-list
elements.
i building element displays items using iron-list
, , each item has dropdown menu of options can performed on particular iron-list
item. however, paper-menu-button
's paper-menu
dropdown not appearing on top of neighbouring iron-list
items, on top of it's own list item.
i've tried inspecting items in chrome, , playing around z-index , overflow css settings no avail. can me out overlay issue?
here extract of custom element's local dom template (and see further below screenshot):
update: jsbin demonstrating issue:
http://jsbin.com/kuyovuh/1/edit?html,output
update #2: note in chrome 44 on mobile (android), paper-menu-button doesn't show dropdown @ in above jsbin case.
<div id="projectsvertboundary" class="layout vertical"> <div id="projectshorboundary" class="layout horizontal center-center"> <iron-list items="[[projects]]" indexas="_id" as="projli" class="layout flex"> <template> <div> <paper-material id="itemshadow" animated elevation="1"> <div class="item layout horizontal" onmouseover="hoverover(this)" onmouseout="hoverout(this)"> <paper-menu-button id="projoptionsbtn" vertical-align="top" horizontal-align="right" class="layout fixed-right"> <paper-icon-button id="projoptionsbuttonicon" icon="menu" class="dropdown-trigger"></paper-icon-button> <paper-menu id="projoptionsselmenu" class="dropdown-content"> <paper-icon-item id="projedit"> <iron-icon icon="create"></iron-icon> edit project </paper-icon-item> <paper-icon-item id="projcopy"> <iron-icon icon="content-copy"></iron-icon> copy project </paper-icon-item> <paper-icon-item id="projdelete"> <iron-icon icon="delete"></iron-icon> delete project </paper-icon-item> </paper-menu> </paper-menu-button> <div class="layout flex vertical"> <!-- bunch of arbitrary list item content --> project type:<p>[[projli.kind]]</p> </div> </div> </paper-material> </div> </template> </iron-list> </div> </div>
Comments
Post a Comment