@dataloop-ai/components 0.20.261-new-input.5 → 0.20.261-new-input.6

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.20.261-new-input.5",
3
+ "version": "0.20.261-new-input.6",
4
4
  "exports": {
5
5
  ".": "./index.ts",
6
6
  "./models": "./models.ts",
@@ -1367,12 +1367,9 @@ export default defineComponent({
1367
1367
  return !!relatedTarget?.closest(`.${this.suggestionMenuClass()}`)
1368
1368
  },
1369
1369
  closeSuggestionMenuAfterBlur(): void {
1370
- // Delay close so suggestion item click can finish before menu teardown.
1371
- setTimeout(() => {
1372
- if (!this.focused) {
1373
- this.isMenuOpen = false
1374
- }
1375
- }, 0)
1370
+ if (!this.focused) {
1371
+ this.isMenuOpen = false
1372
+ }
1376
1373
  },
1377
1374
  onBlur(e: FocusEvent): void {
1378
1375
  if (this.isBlurToSuggestionMenu(e)) {