logo

pleroma-fe

My custom branche(s) on git.pleroma.social/pleroma/pleroma-fe git clone https://hacktivis.me/git/pleroma-fe.git
commit: 11f9a7ba2719ff4ddb84be39d9e83519c1d0f534
parent 4a1ffced44c41be5c4ba60c5b8678b200c328a40
Author: Henry Jameson <me@hjkos.com>
Date:   Mon, 17 Oct 2022 21:23:25 +0300

update popover styles when caret updates

Diffstat:

Msrc/components/emoji_input/emoji_input.js4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/components/emoji_input/emoji_input.js b/src/components/emoji_input/emoji_input.js @@ -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 () { }