update scroll when panel opens
This commit is contained in:
parent
8878e4a351
commit
6017ed7509
3 changed files with 7 additions and 2 deletions
|
@ -41,6 +41,9 @@ export default {
|
|||
handleConfirm(visible) {
|
||||
this.$emit('on-pick', this.dates, visible);
|
||||
},
|
||||
|
||||
onToggleVisibility(open){
|
||||
const timeSpinner = this.$refs.timeSpinner;
|
||||
if (open && timeSpinner) timeSpinner.updateScroll();
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue