Fixed drop-down bug, for now

Expect it to break again in Chrome 54
This commit is contained in:
Stefan Zermatten
2016-10-03 14:05:30 +02:00
parent d83fe917d0
commit ebecb46935
5 changed files with 19 additions and 20 deletions

View File

@@ -40,6 +40,8 @@ Style the background color of the dropdown with these selectors:
<link href="../../components/core-dropdown/core-dropdown.html" rel="import">
<link href="../../components/paper-shadow/paper-shadow.html" rel="import">
<link href="paper-dropdown-transition.html" rel="import">
<style shim-shadowdom>
html /deep/ paper-dropdown {
position: absolute;
@@ -99,6 +101,9 @@ Style the background color of the dropdown with these selectors:
<script>
Polymer({
publish: { //Chrome 52 breaks this
transition: 'paper-dropdown-transition'
},
ready: function() {
this.super();
this.sizingTarget = this.$.scroller;