From 332b208d3fdc91d29181c8f42ef5ff9b1fd1f09a Mon Sep 17 00:00:00 2001 From: Zero~Informatique Date: Thu, 2 Apr 2020 18:45:20 +0200 Subject: 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 --- viewer/src/components/LdTagInput.vue | 27 +++++++++++++++++++++------ 1 file changed, 21 insertions(+), 6 deletions(-) (limited to 'viewer/src/components') diff --git a/viewer/src/components/LdTagInput.vue b/viewer/src/components/LdTagInput.vue index bdb07bc..b1b9e3e 100644 --- a/viewer/src/components/LdTagInput.vue +++ b/viewer/src/components/LdTagInput.vue @@ -30,7 +30,9 @@ size="is-medium" class="paneltag-input" @typing="searchTags" - @click.capture.native="onClick" + @add="clearCurrentFilter" + @remove="clearCurrentFilter" + @keydown.enter.native="onKeyEnter" > @@ -38,7 +40,7 @@ -- cgit v1.2.3