Merge branch '283-emoji-dropdown-visibility' into 'dev'
Message operation alignment improvements Closes #283 See merge request keanuapp/keanuapp-weblite!79
This commit is contained in:
commit
a5a5a69f0a
1 changed files with 3 additions and 3 deletions
|
|
@ -831,8 +831,8 @@ export default {
|
||||||
this.$refs.messageOperationsStrut.getBoundingClientRect();
|
this.$refs.messageOperationsStrut.getBoundingClientRect();
|
||||||
var rectOps =
|
var rectOps =
|
||||||
this.$refs.messageOperations.$el.getBoundingClientRect();
|
this.$refs.messageOperations.$el.getBoundingClientRect();
|
||||||
top = rectAnchor.top - rectChat.top;
|
top = rectAnchor.top - rectChat.top - 50;
|
||||||
left = rectAnchor.left - rectChat.left;
|
left = rectAnchor.left - rectChat.left - 30;
|
||||||
if (left + rectOps.width >= rectChat.right) {
|
if (left + rectOps.width >= rectChat.right) {
|
||||||
left = rectChat.right - rectOps.width - 10; // No overflow
|
left = rectChat.right - rectOps.width - 10; // No overflow
|
||||||
}
|
}
|
||||||
|
|
@ -1598,7 +1598,7 @@ export default {
|
||||||
const event = e.event;
|
const event = e.event;
|
||||||
this.selectedEvent = event;
|
this.selectedEvent = event;
|
||||||
this.updateRecentEmojis();
|
this.updateRecentEmojis();
|
||||||
this.showContextMenu = true;
|
this.showContextMenu = !this.showContextMenu;
|
||||||
this.showContextMenuAnchor = e.anchor;
|
this.showContextMenuAnchor = e.anchor;
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue