diff --git a/.changeset/fix-combobox-auto-focus.md b/.changeset/fix-combobox-auto-focus.md deleted file mode 100644 index 54b98e4d5..000000000 --- a/.changeset/fix-combobox-auto-focus.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@cube-dev/ui-kit": patch ---- - -Fix ComboBox auto-focus behavior when using `allowsCustomValue`. The component now correctly maintains focus on the first filtered item while typing, allowing Enter key selection to work properly. The focus is automatically re-established when the currently focused item is filtered out of the list. Additionally, the refocus logic now properly verifies that the selected item exists in the filtered collection before attempting to focus on it, preventing focus on non-existent keys. diff --git a/CHANGELOG.md b/CHANGELOG.md index 97919d3a8..474fed1ed 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # @cube-dev/ui-kit +## 0.90.3 + +### Patch Changes + +- [#886](https://github.com/cube-js/cube-ui-kit/pull/886) [`15daa007`](https://github.com/cube-js/cube-ui-kit/commit/15daa007241565ba554c3776a115d5e853f6856d) Thanks [@tenphi](https://github.com/tenphi)! - Fix ComboBox auto-focus behavior when using `allowsCustomValue`. The component now correctly maintains focus on the first filtered item while typing, allowing Enter key selection to work properly. The focus is automatically re-established when the currently focused item is filtered out of the list. Additionally, the refocus logic now properly verifies that the selected item exists in the filtered collection before attempting to focus on it, preventing focus on non-existent keys. + ## 0.90.2 ### Patch Changes diff --git a/package.json b/package.json index ab443bd1b..096259d3e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@cube-dev/ui-kit", - "version": "0.90.2", + "version": "0.90.3", "type": "module", "description": "UIKit for Cube Projects", "repository": {