@dataloop-ai/components 0.19.152 → 0.19.153

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": "@dataloop-ai/components",
3
- "version": "0.19.152",
3
+ "version": "0.19.153",
4
4
  "exports": {
5
5
  ".": "./index.ts",
6
6
  "./models": "./models.ts",
@@ -468,13 +468,15 @@ export default defineComponent({
468
468
  emit('focus')
469
469
  }
470
470
 
471
- const processBlur = () => {
471
+ const processBlur = (force: boolean = false) => {
472
472
  input.value.scrollLeft = 0
473
473
  input.value.scrollTop = 0
474
474
  focused.value = false
475
475
  expanded.value = true
476
- updateJSONQuery()
477
- emit('blur')
476
+ if (!force) {
477
+ updateJSONQuery()
478
+ emit('blur')
479
+ }
478
480
  }
479
481
 
480
482
  const blur = (
@@ -497,7 +499,7 @@ export default defineComponent({
497
499
  return
498
500
  }
499
501
 
500
- processBlur()
502
+ processBlur(force)
501
503
  } else {
502
504
  focus()
503
505
  cancelBlur.value = cancelBlur.value - 1