diff --git a/src/vue-context.vue b/src/vue-context.vue index 4b60e63..7b52336 100644 --- a/src/vue-context.vue +++ b/src/vue-context.vue @@ -87,6 +87,10 @@ * @param {boolean|Event} emit Used to prevent event being emitted twice from when menu is clicked and closed */ close (emit = true) { + if (! this.show) { + return; + } + this.top = null; this.left = null; this.data = null;