fix all known problems with clicks on autocomplete emojis

This commit is contained in:
Henry Jameson 2019-06-25 21:31:43 +03:00
parent a6bcd56c9f
commit 01bda605a7
2 changed files with 15 additions and 7 deletions

View file

@ -6,7 +6,7 @@
<div
v-for="(suggestion, index) in suggestions"
:key="index"
@click.stop.prevent="replaceText"
@click.stop.prevent="(e) => onClick(e, suggestion)"
class="autocomplete-item"
:class="{ highlighted: suggestion.highlighted }"
>