update popover styles when caret updates

このコミットが含まれているのは:
Henry Jameson 2022-10-17 21:23:25 +03:00
コミット 11f9a7ba27
1個のファイルの変更3行の追加1行の削除

ファイルの表示

@ -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 () {
}