summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2020-06-21 16:37:30 +0900
committersyuilo <syuilotan@yahoo.co.jp>2020-06-21 16:37:30 +0900
commit90c07a220f1787cd25a17feefe2df667db5b630d (patch)
treedb108907c3d7ad3079697892f3e1162a89fe3a30 /src
parentchore(client): :art: (diff)
downloadsharkey-90c07a220f1787cd25a17feefe2df667db5b630d.tar.gz
sharkey-90c07a220f1787cd25a17feefe2df667db5b630d.tar.bz2
sharkey-90c07a220f1787cd25a17feefe2df667db5b630d.zip
chore(client): Improve emoji picker usability
Diffstat (limited to 'src')
-rw-r--r--src/client/components/reaction-picker.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/components/reaction-picker.vue b/src/client/components/reaction-picker.vue
index e331410c39..cf5de327a3 100644
--- a/src/client/components/reaction-picker.vue
+++ b/src/client/components/reaction-picker.vue
@@ -4,7 +4,7 @@
<div class="buttons" ref="buttons" :class="{ showFocus }">
<button class="_button" v-for="(reaction, i) in rs" :key="reaction" @click="react(reaction)" :tabindex="i + 1" :title="reaction" v-particle><x-reaction-icon :reaction="reaction"/></button>
</div>
- <input class="text" v-model="text" :placeholder="$t('enterEmoji')" @keyup.enter="reactText" @input="tryReactText" v-autocomplete="{ model: 'text' }">
+ <input class="text" v-model.trim="text" :placeholder="$t('enterEmoji')" @keyup.enter="reactText" @input="tryReactText" v-autocomplete="{ model: 'text' }">
</div>
</x-popup>
</template>