|
|
@@ -82,6 +82,7 @@
|
|
|
:visible="isCollapsed"
|
|
|
:style="tooltipStyle"
|
|
|
role="tooltip"
|
|
|
+ @click="onTooltipClick"
|
|
|
>
|
|
|
<div
|
|
|
v-if="isUserMenu"
|
|
|
@@ -254,6 +255,10 @@
|
|
|
this.isTooltipScrolled = (event.target as HTMLElement).scrollTop > 0;
|
|
|
}
|
|
|
|
|
|
+ onTooltipClick(): void {
|
|
|
+ this.tooltip = null;
|
|
|
+ }
|
|
|
+
|
|
|
openTooltip(el: HTMLElement, fromKeyboard?: boolean): void {
|
|
|
const rect = el.getBoundingClientRect();
|
|
|
// maxHeight is needed for the edge-cases where the accordion tooltip content would
|