Focus search query input

This commit is contained in:
Peter Stuifzand 2021-05-31 23:58:55 +02:00
parent 8e739e841f
commit d07c2ae942

View File

@ -43,7 +43,7 @@ export default {
watch: {
isOpen(val) {
if (val) {
this.$refs.query.focus()
this.$nextTick(() => this.$refs.query.focus())
}
}
},