fix #5046
This commit is contained in:
parent
3e012ca94d
commit
4cc72ddba5
2 changed files with 5 additions and 0 deletions
|
@ -55,6 +55,7 @@
|
|||
if (this.timeDisabled) return;
|
||||
this.$emit('on-pick-toggle-time');
|
||||
this.dispatch('CalendarPicker', 'focus-input');
|
||||
this.dispatch('CalendarPicker', 'update-popper');
|
||||
},
|
||||
handleTab(e) {
|
||||
const tabbables = [...this.$el.children];
|
||||
|
|
|
@ -679,6 +679,9 @@
|
|||
},
|
||||
focus() {
|
||||
this.$refs.input && this.$refs.input.focus();
|
||||
},
|
||||
updatePopper () {
|
||||
this.$refs.drop.update();
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
|
@ -715,6 +718,7 @@
|
|||
|
||||
// to handle focus from confirm buttons
|
||||
this.$on('focus-input', () => this.focus());
|
||||
this.$on('update-popper', () => this.updatePopper());
|
||||
}
|
||||
};
|
||||
</script>
|
||||
|
|
Loading…
Add table
Reference in a new issue