Focus search query input
This commit is contained in:
parent
8e739e841f
commit
d07c2ae942
|
@ -43,7 +43,7 @@ export default {
|
|||
watch: {
|
||||
isOpen(val) {
|
||||
if (val) {
|
||||
this.$refs.query.focus()
|
||||
this.$nextTick(() => this.$refs.query.focus())
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue
Block a user