From 59ce8f8cf71c4a20dc8d18b8f35a8b9e670740a5 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sat, 1 Feb 2020 07:42:21 +0900 Subject: [PATCH] Improve usability --- src/client/components/autocomplete.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/client/components/autocomplete.vue b/src/client/components/autocomplete.vue index c94f9c3a4..2ab837a2c 100644 --- a/src/client/components/autocomplete.vue +++ b/src/client/components/autocomplete.vue @@ -378,6 +378,9 @@ export default Vue.extend({ vm.$once('selected', user => { this.complete('user', user); }); + vm.$once('closed', () => { + this.textarea.focus(); + }); } } });