We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e1e2c99 + 0dc88f5 commit b255572Copy full SHA for b255572
src/lib/Room/RoomFooter/RoomFooter.vue
@@ -331,20 +331,23 @@ export default {
331
332
mounted() {
333
const isMobile = detectMobile()
334
+ let isComposed = true
335
336
this.getTextareaRef().addEventListener('keyup', e => {
337
if (e.key === 'Enter' && !e.shiftKey && !this.fileDialog) {
338
if (isMobile) {
339
this.message = this.message + '\n'
340
setTimeout(() => this.onChangeInput())
341
} else if (
342
+ isComposed &&
343
!this.filteredEmojis.length &&
344
!this.filteredUsersTag.length &&
345
!this.filteredTemplatesText.length
346
) {
347
this.sendMessage()
348
}
349
350
+ isComposed = !e.isComposing
351
352
setTimeout(() => {
353
this.updateFooterLists()
0 commit comments