From 9278205dfa8ba05dab6c899308f93aa433ceb4ee Mon Sep 17 00:00:00 2001 From: N-Pex Date: Tue, 5 Nov 2024 10:24:08 +0100 Subject: [PATCH] Fix popup menu positioning --- src/components/Chat.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/Chat.vue b/src/components/Chat.vue index c15c022..c6bc948 100644 --- a/src/components/Chat.vue +++ b/src/components/Chat.vue @@ -1895,14 +1895,15 @@ export default { showContextMenuForEvent(e) { const event = e.event; if (this.selectedEvent == event) { + this.showContextMenuAnchor = e.anchor; this.showContextMenu = !this.showContextMenu; } else { this.showContextMenu = false; this.$nextTick(() => { this.selectedEvent = event; this.updateRecentEmojis(); - this.showContextMenu = true; this.showContextMenuAnchor = e.anchor; + this.showContextMenu = true; }) } },