update popover styles when caret updates
This commit is contained in:
parent
4a1ffced44
commit
11f9a7ba27
1 changed files with 3 additions and 1 deletions
|
@ -278,7 +278,6 @@ const EmojiInput = {
|
|||
...rest,
|
||||
img: imageUrl || ''
|
||||
}))
|
||||
this.$refs.suggestorPopover.updateStyles()
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
|
@ -536,6 +535,9 @@ const EmojiInput = {
|
|||
},
|
||||
setCaret ({ target: { selectionStart } }) {
|
||||
this.caret = selectionStart
|
||||
this.$nextTick(() => {
|
||||
this.$refs.suggestorPopover.updateStyles()
|
||||
})
|
||||
},
|
||||
resize () {
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue