From cd9dc9d2b21f98a7d4b5d8a5fb91120ff2a158e0 Mon Sep 17 00:00:00 2001 From: Sol Fisher Romanoff Date: Sun, 6 Nov 2022 15:46:35 +0200 Subject: [PATCH] Clear search bar on reopen --- src/components/search_bar/search_bar.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/search_bar/search_bar.js b/src/components/search_bar/search_bar.js index 551649c7..73dd3ca5 100644 --- a/src/components/search_bar/search_bar.js +++ b/src/components/search_bar/search_bar.js @@ -32,6 +32,7 @@ const SearchBar = { this.$emit('toggled', this.hidden) this.$nextTick(() => { if (!this.hidden) { + this.searchTerm = undefined this.$refs.searchInput.focus() } })