Send message when pressing enter in the emoji picker
This commit is contained in:
parent
0a16c905b9
commit
d23efc6717
3 changed files with 30 additions and 6 deletions
|
@ -318,6 +318,9 @@
|
|||
|
||||
setupEmojiPickerButton() {
|
||||
const props = {
|
||||
onForceSend: () => {
|
||||
this.sendMessage({});
|
||||
},
|
||||
onPickEmoji: e => this.insertEmoji(e),
|
||||
onClose: () => {
|
||||
const textarea = this.$messageField[0];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue