aloha-vue 1.2.95 → 1.2.96

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.
@@ -60,6 +60,24 @@ export default {
60
60
  id: "integerNumber",
61
61
  label: "Integer range",
62
62
  },
63
+ {
64
+ type: "select",
65
+ id: "select1",
66
+ label: "Select 1",
67
+ alwaysVisible: true,
68
+ keyLabel: "label",
69
+ keyId: "id",
70
+ data: [
71
+ {
72
+ label: "Aloha 0",
73
+ id: "aloha_0",
74
+ },
75
+ {
76
+ label: "Aloha 1",
77
+ id: "aloha_1",
78
+ },
79
+ ],
80
+ },
63
81
  ];
64
82
 
65
83
  const appliedModel = ref({});
package/package.json CHANGED
@@ -14,7 +14,7 @@
14
14
  "Vue.js"
15
15
  ],
16
16
  "homepage": "https://github.com/ilia-brykin/aloha/#README.md",
17
- "version": "1.2.95",
17
+ "version": "1.2.96",
18
18
  "author": {
19
19
  "name": "Ilia Brykin",
20
20
  "email": "brykin.ilia@gmail.com"
@@ -158,6 +158,10 @@ export default function ToggleAPI(props, {
158
158
  ]
159
159
  },
160
160
  ).then(({ x, y }) => {
161
+ if (!buttonRef.value.clientWidth) { // if button hide
162
+ closePopover();
163
+ return;
164
+ }
161
165
  const SOURCE = {
162
166
  left: `${ x }px`,
163
167
  top: `${ y }px`,