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:
@@ -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">▼</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"
|
||||
|
||||
Reference in New Issue
Block a user