diff --git a/src/components/search/SearchBox.vue b/src/components/search/SearchBox.vue index 7ed89f2..6b7f756 100644 --- a/src/components/search/SearchBox.vue +++ b/src/components/search/SearchBox.vue @@ -32,9 +32,9 @@ const onShowComponents = () => { } const onOpen = () => { - nextTick(() => { + setTimeout(() => { inputRef.value?.focus() - }) + }, 50) } const onShowContactCard = (contactInfo) => {