From e5020d6936a9cdb960782d5f6caa77b93574b4a5 Mon Sep 17 00:00:00 2001 From: HJ <30-hj@users.noreply.git.pleroma.social> Date: Tue, 18 Jun 2019 17:49:43 +0000 Subject: [PATCH] Update emoji-input.js --- src/components/emoji-input/emoji-input.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/components/emoji-input/emoji-input.js b/src/components/emoji-input/emoji-input.js index b79d11cafb..08c2f60b28 100644 --- a/src/components/emoji-input/emoji-input.js +++ b/src/components/emoji-input/emoji-input.js @@ -168,7 +168,7 @@ const EmojiInput = { } }, onTransition (e) { - this.resize(e) + this.resize() }, onBlur (e) { // Clicking on any suggestion removes focus from autocomplete, @@ -176,25 +176,25 @@ const EmojiInput = { setTimeout(() => { this.focused = false this.setCaret(e) - this.resize(e) + this.resize() }, 200) }, onFocus (e) { this.focused = true this.setCaret(e) - this.resize(e) + this.resize() }, onKeyUp (e) { this.setCaret(e) - this.resize(e) + this.resize() }, onPaste (e) { this.setCaret(e) - this.resize(e) + this.resize() }, onKeyDown (e) { this.setCaret(e) - this.resize(e) + this.resize() const { ctrlKey, shiftKey, key } = e if (key === 'Tab') {