From b2e6310775f6390c1d1864d019169cf36ecc0bbe Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Mon, 5 Oct 2020 17:03:46 +0200 Subject: [PATCH] re-focus composer when clicking send button --- src/ui/web/session/room/MessageComposer.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ui/web/session/room/MessageComposer.js b/src/ui/web/session/room/MessageComposer.js index 88d7f903..20d1b639 100644 --- a/src/ui/web/session/room/MessageComposer.js +++ b/src/ui/web/session/room/MessageComposer.js @@ -40,6 +40,7 @@ export class MessageComposer extends TemplateView { } _trySend() { + this._input.focus(); if (this.value.sendMessage(this._input.value)) { this._input.value = ""; }