fix: improve keyboard operability especially on search page and editor (#2730)
Co-authored-by: patak <583075+patak-dev@users.noreply.github.com>
This commit is contained in:
parent
587c063aba
commit
eee671cdc3
3 changed files with 12 additions and 3 deletions
|
@ -82,6 +82,7 @@ function activate() {
|
|||
placeholder-text-secondary
|
||||
@keydown.down.prevent="shift(1)"
|
||||
@keydown.up.prevent="shift(-1)"
|
||||
@keydown.esc.prevent="input?.blur()"
|
||||
@keypress.enter="activate"
|
||||
>
|
||||
<button v-if="query.length" btn-action-icon text-secondary @click="query = ''; input?.focus()">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue