Fix popup menu positioning
This commit is contained in:
parent
e409b0f2fc
commit
9278205dfa
1 changed files with 2 additions and 1 deletions
|
|
@ -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;
|
||||
})
|
||||
}
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue