aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/components/emoji-input/emoji-input.js12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/components/emoji-input/emoji-input.js b/src/components/emoji-input/emoji-input.js
index b79d11ca..08c2f60b 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') {