@mptw/skylens-ui 1.4.29 → 1.4.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/SLInfoTip.vue +8 -2
- package/package.json +1 -1
package/components/SLInfoTip.vue
CHANGED
|
@@ -104,6 +104,12 @@ export default defineComponent({
|
|
|
104
104
|
offset: [0, 0],
|
|
105
105
|
},
|
|
106
106
|
},
|
|
107
|
+
{
|
|
108
|
+
name: 'preventOverflow',
|
|
109
|
+
options: {
|
|
110
|
+
altAxis: true,
|
|
111
|
+
},
|
|
112
|
+
},
|
|
107
113
|
{ name: "eventListeners", enabled: true },
|
|
108
114
|
],
|
|
109
115
|
});
|
|
@@ -112,7 +118,7 @@ export default defineComponent({
|
|
|
112
118
|
}
|
|
113
119
|
|
|
114
120
|
function hide() {
|
|
115
|
-
if (!popupEl.value || popupEl.value.getAttribute("data-show") === null)
|
|
121
|
+
if (!popupEl.value || popupEl.value.getAttribute("data-show") === null || isPinned.value)
|
|
116
122
|
return;
|
|
117
123
|
popupEl.value.removeAttribute("data-show");
|
|
118
124
|
popperInstance.setOptions({
|
|
@@ -145,7 +151,7 @@ export default defineComponent({
|
|
|
145
151
|
});
|
|
146
152
|
}
|
|
147
153
|
|
|
148
|
-
subscribeResize();
|
|
154
|
+
// subscribeResize();
|
|
149
155
|
});
|
|
150
156
|
|
|
151
157
|
onBeforeUnmount(() => {
|