diff --git a/packages/@vuepress/plugin-search/SearchBox.vue b/packages/@vuepress/plugin-search/SearchBox.vue index 3a48566f22..0faa59cfc3 100644 --- a/packages/@vuepress/plugin-search/SearchBox.vue +++ b/packages/@vuepress/plugin-search/SearchBox.vue @@ -13,6 +13,7 @@ @keyup.enter="go(focusIndex)" @keyup.up="onUp" @keyup.down="onDown" + ref="input" >