@ariakit/core
Advanced tools
Comparing version 0.4.3 to 0.4.4
# @ariakit/core | ||
## 0.4.4 | ||
### Combobox `autoFocusOnHide` behavior | ||
Previously, the [`autoFocusOnHide`](https://ariakit.org/reference/combobox-popover#autofocusonhide) feature on [`ComboboxPopover`](https://ariakit.org/reference/combobox-popover) was turned off by default. Most of the time, this didn't have any practical impact because the combobox input element was already focused when the popover was hidden. | ||
Now, this feature is enabled by default and should work consistently even when [`virtualFocus`](https://ariakit.org/reference/combobox-provider#virtualfocus) is set to `false`. | ||
### Other updates | ||
- Improved JSDocs. | ||
## 0.4.3 | ||
@@ -4,0 +16,0 @@ |
@@ -22,4 +22,3 @@ "use client"; | ||
import { | ||
isSafari, | ||
isTouchDevice | ||
isSafari | ||
} from "../__chunks/VDNATJW2.js"; | ||
@@ -34,3 +33,3 @@ import "../__chunks/RRSZHCH6.js"; | ||
// src/combobox/combobox-store.ts | ||
var isSafariOnMobile = isSafari() && isTouchDevice(); | ||
var isSafariOnMobile = isSafari() && matchMedia("(hover:none)").matches; | ||
function createComboboxStore(props = {}) { | ||
@@ -37,0 +36,0 @@ var _a; |
{ | ||
"name": "@ariakit/core", | ||
"version": "0.4.3", | ||
"version": "0.4.4", | ||
"description": "Ariakit core", | ||
@@ -5,0 +5,0 @@ "sideEffects": false, |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
502042
10167