summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/notes/components/note_actions.vue
diff options
context:
space:
mode:
authorSimon Knox <simon@gitlab.com>2019-01-09 23:46:43 +0000
committerSimon Knox <psimyn@gmail.com>2019-02-12 21:41:01 +1100
commitbe485a781d6fde502627f891a1c11e93c9bfbf3c (patch)
tree62797ed2eefe9ce861058cdb9c7f5392369a5128 /app/assets/javascripts/notes/components/note_actions.vue
parent3daa53e821c68069d68627bebd58a8291269106d (diff)
downloadgitlab-ce-be485a781d6fde502627f891a1c11e93c9bfbf3c.tar.gz
Hide More Actions tooltip when the menu opens55209-tool-tip-hides-menu-item
Diffstat (limited to 'app/assets/javascripts/notes/components/note_actions.vue')
-rw-r--r--app/assets/javascripts/notes/components/note_actions.vue6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/assets/javascripts/notes/components/note_actions.vue b/app/assets/javascripts/notes/components/note_actions.vue
index 394f2a80a67..26485a9bbd1 100644
--- a/app/assets/javascripts/notes/components/note_actions.vue
+++ b/app/assets/javascripts/notes/components/note_actions.vue
@@ -126,6 +126,11 @@ export default {
onResolve() {
this.$emit('handleResolve');
},
+ closeTooltip() {
+ this.$nextTick(() => {
+ this.$root.$emit('bv::hide::tooltip');
+ });
+ },
},
};
</script>
@@ -202,6 +207,7 @@ export default {
title="More actions"
class="note-action-button more-actions-toggle btn btn-transparent"
data-toggle="dropdown"
+ @click="closeTooltip"
>
<icon css-classes="icon" name="ellipsis_v" />
</button>