Polymer 1.0: more info light - reposition post transition

This commit is contained in:
Paulus Schoutsen 2015-05-27 22:48:15 -07:00
parent 986b843e0d
commit 2ce090e4b3

View file

@ -25,7 +25,7 @@
max-height: 0px;
overflow: hidden;
transition: max-height .5s ease-in .3s;
transition: max-height .5s ease-in;
}
.has-brightness .brightness {
@ -79,6 +79,10 @@
if (newVal && newVal.state === 'on') {
this.brightnessSliderValue = newVal.attributes.brightness;
}
this.debounce('more-info-light-animation-finish', function() {
this.fire('iron-resize');
}.bind(this), 500);
},
computeClassNames: function(stateObj) {