From dbb4046d51bb0218705b5f8d7be555608363fd2b Mon Sep 17 00:00:00 2001 From: kolaente Date: Mon, 1 Dec 2025 15:48:59 +0100 Subject: [PATCH] fix(reaction): use the actual button element to compute rect, not the vue component Resolves https://github.com/go-vikunja/vikunja/issues/1913 --- frontend/src/components/input/Reactions.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/components/input/Reactions.vue b/frontend/src/components/input/Reactions.vue index 29b5975c3..957e7cf32 100644 --- a/frontend/src/components/input/Reactions.vue +++ b/frontend/src/components/input/Reactions.vue @@ -113,7 +113,7 @@ const emojiPickerPosition = ref() function toggleEmojiPicker() { if (!showEmojiPicker.value) { - const rect = emojiPickerButtonRef.value?.getBoundingClientRect() + const rect = emojiPickerButtonRef.value?.$el?.getBoundingClientRect() const container = reactionContainerRef.value?.getBoundingClientRect() if (rect && container) { const left = rect.left - container.left + rect.width