Commit 755693b58b6986754bb50a57ac2c6e84cbb28cb0

Authored by Sergio Crisostomo
1 parent 29a91fbb

update also timeSpinnerEnd's scroll

Showing 1 changed file with 2 additions and 1 deletions   Show diff stats
src/components/date-picker/panel/panel-mixin.js
@@ -48,8 +48,9 @@ export default { @@ -48,8 +48,9 @@ export default {
48 this.$emit('on-pick', this.dates, visible); 48 this.$emit('on-pick', this.dates, visible);
49 }, 49 },
50 onToggleVisibility(open){ 50 onToggleVisibility(open){
51 - const timeSpinner = this.$refs.timeSpinner; 51 + const {timeSpinner, timeSpinnerEnd} = this.$refs;
52 if (open && timeSpinner) timeSpinner.updateScroll(); 52 if (open && timeSpinner) timeSpinner.updateScroll();
  53 + if (open && timeSpinnerEnd) timeSpinnerEnd.updateScroll();
53 } 54 }
54 } 55 }
55 }; 56 };