|
@@ -278,7 +278,6 @@ const EmojiInput = {
|
|
...rest,
|
|
...rest,
|
|
img: imageUrl || ''
|
|
img: imageUrl || ''
|
|
}))
|
|
}))
|
|
- this.$refs.suggestorPopover.updateStyles()
|
|
|
|
}
|
|
}
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
@@ -536,6 +535,9 @@ const EmojiInput = {
|
|
},
|
|
},
|
|
setCaret ({ target: { selectionStart } }) {
|
|
setCaret ({ target: { selectionStart } }) {
|
|
this.caret = selectionStart
|
|
this.caret = selectionStart
|
|
|
|
+ this.$nextTick(() => {
|
|
|
|
+ this.$refs.suggestorPopover.updateStyles()
|
|
|
|
+ })
|
|
},
|
|
},
|
|
resize () {
|
|
resize () {
|
|
}
|
|
}
|