From fe2775cd5e9b68cd2b2db5b39c135d09538c62ca Mon Sep 17 00:00:00 2001 From: akhuoa Date: Wed, 4 Jun 2025 13:54:07 +1200 Subject: [PATCH] Close tooltip on flatmap when connectivity explorer item is closed --- src/components/SplitFlow.vue | 6 +++++- src/mixins/ContentMixin.js | 12 ++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/src/components/SplitFlow.vue b/src/components/SplitFlow.vue index d781eeb4..68ece0d1 100644 --- a/src/components/SplitFlow.vue +++ b/src/components/SplitFlow.vue @@ -46,6 +46,7 @@ @connectivity-hovered="onConnectivityHovered" @connectivity-explorer-clicked="onConnectivityExplorerClicked" @connectivity-source-change="onConnectivitySourceChange" + @connectivity-item-close="onConnectivityItemClose" /> { + if (this.multiflatmapRef) { + const currentFlatmap = this.multiflatmapRef.getCurrentFlatmap(); + if (currentFlatmap) { + currentFlatmap.closeTooltip(); + } + } + if (this.flatmapRef) { + this.flatmapRef.closeTooltip(); + } + }); + this.multiflatmapRef = this.$refs.multiflatmap; this.flatmapRef = this.$refs.flatmap; this.scaffoldRef = this.$refs.scaffold;