diff options
author | Maksim Sukharev <antreesy.web@gmail.com> | 2024-04-23 14:45:17 +0200 |
---|---|---|
committer | Maksim Sukharev <antreesy.web@gmail.com> | 2024-04-23 15:25:38 +0200 |
commit | d6ffca80ca1ba94b7115bc91b794a284109ffb42 (patch) | |
tree | ebbbd2711efbc522099a82a86f8b92e901a3e707 | |
parent | c8237a1bfc619bc85da57a162e802673cb3e5270 (diff) |
fix(chat): focus input after editing the message
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
-rw-r--r-- | src/components/NewMessage/NewMessage.vue | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/components/NewMessage/NewMessage.vue b/src/components/NewMessage/NewMessage.vue index 7d52eb314..a9f67bf15 100644 --- a/src/components/NewMessage/NewMessage.vue +++ b/src/components/NewMessage/NewMessage.vue @@ -738,6 +738,8 @@ export default { }) this.chatExtrasStore.removeMessageIdToEdit(this.token) this.resetTypingIndicator() + // refocus input as the user might want to type further + this.focusInput() } catch { this.$emit('failure') showError(t('spreed', 'The message could not be edited')) |