diff --git a/src/components/layout/HeaderSearch.vue b/src/components/layout/HeaderSearch.vue index ec7b601..ac735eb 100644 --- a/src/components/layout/HeaderSearch.vue +++ b/src/components/layout/HeaderSearch.vue @@ -1,14 +1,13 @@ @@ -29,7 +28,7 @@ export default { methods: { enterSearchMode () { this.searchMode = true - this.$refs.input.focus() + setTimeout(() => this.$refs.input.focus(), 300) }, leaveSearchMode () { this.searchMode = false @@ -38,35 +37,32 @@ export default { } -