@antify/ui 4.1.6 → 4.1.9

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.
@@ -205,6 +205,10 @@ watch(_modelValue, () => {
205
205
  });
206
206
 
207
207
  function onBlur(e: FocusEvent) {
208
+ if (isOpen.value) {
209
+ return;
210
+ }
211
+
208
212
  emit('validate', props.modelValue);
209
213
  emit('blur', e);
210
214
  }
@@ -309,7 +309,7 @@ watch(_modelValue, (val) => {
309
309
  ...getActiveDropDownItemClasses(option),
310
310
  'font-bold': option.isGroupLabel,
311
311
  }"
312
- @mousedown="(e) => onClickDropDownItem(e, option)"
312
+ @click="(e) => onClickDropDownItem(e, option)"
313
313
  @mouseover="() => focusedDropDownItem = !option.isGroupLabel && option.value !== undefined ? option.value : null"
314
314
  >
315
315
  <slot
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@antify/ui",
3
- "version": "4.1.6",
3
+ "version": "4.1.9",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "exports": {