forked from AkkomaGang/akkoma-fe
Update emoji-input.js
This commit is contained in:
parent
5f4a8dcc05
commit
e5020d6936
1 changed files with 6 additions and 6 deletions
|
@ -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') {
|
||||
|
|
Loading…
Reference in a new issue