We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e04f58 commit 89ce53eCopy full SHA for 89ce53e
src/views/layout/components/TagsView.vue
@@ -104,7 +104,8 @@ export default {
104
openMenu(tag, e) {
105
this.visible = true
106
this.selectedTag = tag
107
- this.left = e.clientX
+ const offsetLeft = this.$el.getBoundingClientRect().left // container margin left
108
+ this.left = e.clientX - offsetLeft + 15 // 15: margin right
109
this.top = e.clientY
110
},
111
closeMenu() {
0 commit comments