paper-menu-button icon indicating copy to clipboard operation
paper-menu-button copied to clipboard

non-menu dropdown content isn't sized correctly

Open lkovaleva opened this issue 9 years ago • 1 comments

Code:

<paper-menu-button>
  <paper-button class="dropdown-trigger">Checkboxes</paper-button>
  <div class="dropdown-content">
    <paper-checkbox>Show one</paper-checkbox>
    <paper-checkbox>Show two</paper-checkbox>
    <paper-checkbox>Show three</paper-checkbox>
    <paper-checkbox>Show four</paper-checkbox>
  </div>
</paper-menu-button>

When opened dropdown has a scrollbar: image

This only appears to be an issue when content is not paper-menu

Note I also had this styling applied in the above screenshot, but even without it the scrollbar still appears

<style>
  .dropdown-content > paper-checkbox {
    display: block;
    padding: 4px;
  }
</style>

lkovaleva avatar Sep 09 '15 23:09 lkovaleva

This may be related to margins bleeding out of the div.

cdata avatar Jan 28 '16 23:01 cdata