update also timeSpinnerEnd's scroll
This commit is contained in:
parent
29a91fbb61
commit
755693b58b
1 changed files with 2 additions and 1 deletions
|
@ -48,8 +48,9 @@ export default {
|
||||||
this.$emit('on-pick', this.dates, visible);
|
this.$emit('on-pick', this.dates, visible);
|
||||||
},
|
},
|
||||||
onToggleVisibility(open){
|
onToggleVisibility(open){
|
||||||
const timeSpinner = this.$refs.timeSpinner;
|
const {timeSpinner, timeSpinnerEnd} = this.$refs;
|
||||||
if (open && timeSpinner) timeSpinner.updateScroll();
|
if (open && timeSpinner) timeSpinner.updateScroll();
|
||||||
|
if (open && timeSpinnerEnd) timeSpinnerEnd.updateScroll();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue