@saooti/octopus-sdk 39.0.25 → 39.0.26

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@saooti/octopus-sdk",
3
- "version": "39.0.25",
3
+ "version": "39.0.26",
4
4
  "private": false,
5
5
  "description": "Javascript SDK for using octopus",
6
6
  "author": "Saooti",
@@ -7,7 +7,7 @@
7
7
  class="octopus-popover"
8
8
  :class="[onlyClick ? 'octopus-dropdown' : '', popoverClass]"
9
9
  :style="positionInlineStyle"
10
- @blur="clearDataBlur"
10
+ @focusout="clearDataBlur"
11
11
  @mouseenter="overPopover = true"
12
12
  @mouseleave="
13
13
  overPopover = false;
@@ -87,7 +87,7 @@ export default defineComponent({
87
87
  if (!this.onlyMouse) {
88
88
  this.targetElement.addEventListener("click", this.setPopoverData);
89
89
  }
90
- this.targetElement.addEventListener("blur", this.clearDataBlur);
90
+ this.targetElement.addEventListener("focusout", this.clearDataBlur);
91
91
  }
92
92
  },
93
93
  removeListeners() {
@@ -105,7 +105,7 @@ export default defineComponent({
105
105
  if (!this.onlyMouse) {
106
106
  this.targetElement.removeEventListener("click", this.setPopoverData);
107
107
  }
108
- this.targetElement.addEventListener("blur", this.clearDataBlur);
108
+ this.targetElement.addEventListener("focusout", this.clearDataBlur);
109
109
  }
110
110
  },
111
111
  setPopoverData(e: MouseEvent | PointerEvent) {
@@ -223,7 +223,7 @@ export default defineComponent({
223
223
  border: 1px solid #ccc;
224
224
  border-radius: $octopus-borderradius;
225
225
  position: absolute;
226
- z-index: 9999;
226
+ /* z-index: 9999; */
227
227
  max-height: 80vh;
228
228
  overflow: auto;
229
229
  &.octopus-dropdown {