Merge branch '616-channels-context-menu-for-a-post-misplaced-and-missing-on-some-posts' into 'dev'

Resolve "Channels: Context menu for a post misplaced and missing on some posts"

Closes #616

See merge request keanuapp/keanuapp-weblite!325
This commit is contained in:
N Pex 2024-11-05 09:27:03 +00:00
commit 64ad718f65
2 changed files with 3 additions and 2 deletions

View file

@ -102,7 +102,7 @@
/* full bleed */ /* full bleed */
padding: 0 0 0 0; padding: 0 0 0 0;
border-radius: 0 !important; border-radius: 0 !important;
.v-image { .v-image, video {
border-radius: 0 !important; border-radius: 0 !important;
} }
} }

View file

@ -1895,14 +1895,15 @@ export default {
showContextMenuForEvent(e) { showContextMenuForEvent(e) {
const event = e.event; const event = e.event;
if (this.selectedEvent == event) { if (this.selectedEvent == event) {
this.showContextMenuAnchor = e.anchor;
this.showContextMenu = !this.showContextMenu; this.showContextMenu = !this.showContextMenu;
} else { } else {
this.showContextMenu = false; this.showContextMenu = false;
this.$nextTick(() => { this.$nextTick(() => {
this.selectedEvent = event; this.selectedEvent = event;
this.updateRecentEmojis(); this.updateRecentEmojis();
this.showContextMenu = true;
this.showContextMenuAnchor = e.anchor; this.showContextMenuAnchor = e.anchor;
this.showContextMenu = true;
}) })
} }
}, },