Fix dropdown bug on page scroll

Hard to describe, here's the bug:
http://imgur.com/a/O3aTl

Change-Id: I2d8b3f6258d3be5a135efbd7f00edb2ef8d8f102
This commit is contained in:
Viktar Donich
2017-03-13 13:02:18 -07:00
parent 68a23fcfb3
commit 3dd0ff4dd0

View File

@@ -75,6 +75,9 @@ limitations under the License.
cursor: pointer;
padding: 0;
}
iron-dropdown {
position: absolute;
}
.dropdown-content {
background-color: #fff;
box-shadow: 0 1px 5px rgba(0, 0, 0, .3);
@@ -190,10 +193,11 @@ limitations under the License.
<span>[[_computeFileDisplayName(_path)]]</span>
<span class="downArrow">&#9660;</span>
</gr-button>
<!-- *-align="" to disable iron-dropdown's element positioning. -->
<iron-dropdown id="dropdown"
vertical-align="top"
vertical-offset="25"
allow-outside-scroll="true">
allow-outside-scroll
vertical-align=""
horizontal-align="">
<div class="dropdown-content">
<template
is="dom-repeat"