diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2020-06-21 16:37:30 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2020-06-21 16:37:30 +0900 |
| commit | 90c07a220f1787cd25a17feefe2df667db5b630d (patch) | |
| tree | db108907c3d7ad3079697892f3e1162a89fe3a30 /src | |
| parent | chore(client): :art: (diff) | |
| download | sharkey-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.vue | 2 |
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> |