Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/spreed.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2020-09-02 15:06:30 +0300
committerJoas Schilling <coding@schilljs.com>2020-09-02 15:06:30 +0300
commitb5a04c9e7dc8481a03d0195206b61f0d87a95746 (patch)
tree136e21a390e3ee738f4be5640fcbab2e7416f4b5 /src
parenta3dcbfff68fe1d174b2c8aade802aefe560705f5 (diff)
Fix focus state after pasting something into the chat input
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'src')
-rw-r--r--src/components/NewMessageForm/AdvancedInput/AdvancedInput.vue2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/components/NewMessageForm/AdvancedInput/AdvancedInput.vue b/src/components/NewMessageForm/AdvancedInput/AdvancedInput.vue
index d7ec26493..d98c74745 100644
--- a/src/components/NewMessageForm/AdvancedInput/AdvancedInput.vue
+++ b/src/components/NewMessageForm/AdvancedInput/AdvancedInput.vue
@@ -249,6 +249,8 @@ export default {
const text = content.text
const div = document.createElement('div').innerText = escapeHtml(text)
document.execCommand('insertHtml', false, div)
+
+ this.focusInput()
}
},