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:
commit
64ad718f65
2 changed files with 3 additions and 2 deletions
|
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -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;
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue