Merge branch 'emoji-popovers' into shigusegubu-vue3

* emoji-popovers:
  update popover styles when caret updates
This commit is contained in:
Henry Jameson 2022-10-17 21:24:17 +03:00
commit ceac379c9b

View file

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