diff options
author | Zero~Informatique | 2020-04-02 18:45:20 +0200 |
---|---|---|
committer | Notkea | 2020-04-02 20:32:05 +0200 |
commit | 332b208d3fdc91d29181c8f42ef5ff9b1fd1f09a (patch) | |
tree | 033eb7eb6a6f8bfa512ffd20f072c710f40949d7 /viewer/src/views | |
parent | 78961dd465779c6df40425fa49a8d30cd6b89fed (diff) | |
download | ldgallery-332b208d3fdc91d29181c8f42ef5ff9b1fd1f09a.tar.gz |
viewer: press "enter" in the empty tagInput to trigger a search
revert: viewer: removing a tag from the filters opens the keyboard on mobile (fixed in Buefy)
GitHub: Resolves #168
Diffstat (limited to 'viewer/src/views')
-rw-r--r-- | viewer/src/views/PanelLeft.vue | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/viewer/src/views/PanelLeft.vue b/viewer/src/views/PanelLeft.vue index 9e9a600..1b3f90b 100644 --- a/viewer/src/views/PanelLeft.vue +++ b/viewer/src/views/PanelLeft.vue | |||
@@ -19,7 +19,11 @@ | |||
19 | 19 | ||
20 | <template> | 20 | <template> |
21 | <div class="flex-column sidebar"> | 21 | <div class="flex-column sidebar"> |
22 | <ld-tag-input :search-filters.sync="searchFilters" :tags-index="$galleryStore.tagsIndex" /> | 22 | <ld-tag-input |
23 | :search-filters.sync="searchFilters" | ||
24 | :tags-index="$galleryStore.tagsIndex" | ||
25 | @onkeyenter-empty="search" | ||
26 | /> | ||
23 | <ld-command-search @clear="clear" @search="search" /> | 27 | <ld-command-search @clear="clear" @search="search" /> |
24 | <h1 class="title">{{$t('panelLeft.propositions')}}</h1> | 28 | <h1 class="title">{{$t('panelLeft.propositions')}}</h1> |
25 | <ld-proposition | 29 | <ld-proposition |