@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.
@@ -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(() => {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mptw/skylens-ui",
3
3
  "type": "module",
4
- "version": "1.4.29",
4
+ "version": "1.4.30",
5
5
  "main": "./nuxt.config.ts",
6
6
  "scripts": {
7
7
  "dev": "nuxi dev .playground",