Commit a0816e4d authored by Robert's avatar Robert 👽

FIX: 'Popover is null' on keyboard search action (closes #254)

parent effebcce
Pipeline #130290 passed with stages
in 4 minutes and 47 seconds
......@@ -26,6 +26,7 @@
<b-popover custom-class="popover-wide suggestions-popover shadow"
:show="(search_has_focus) || searching !== 0"
id="suggestions-popover"
ref="suggestionsPopover"
target="search" placement="bottom">
<div class="suggestions-wrapper">
<div v-if="getSearchDiscriminator()" class="text-center suggestion p-3"><i>Globale Suche
......@@ -344,6 +345,7 @@ export default {
if (this.show_search) {
this.$nextTick(() => {
this.$refs.search.focus()
this.$refs.suggestionsPopover.$emit('open')
})
}
} else {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment