forked from mirrors/akkoma-fe
Merge pull request 'Clear search bar on reopen' (#192) from sfr/pleroma-fe:clear-searchbar into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/192
This commit is contained in:
commit
278b2c25ad
1 changed files with 1 additions and 0 deletions
|
@ -32,6 +32,7 @@ const SearchBar = {
|
|||
this.$emit('toggled', this.hidden)
|
||||
this.$nextTick(() => {
|
||||
if (!this.hidden) {
|
||||
this.searchTerm = undefined
|
||||
this.$refs.searchInput.focus()
|
||||
}
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue