@deque/cauldron-react 6.13.0-canary.2b0bb381 → 6.13.0-canary.55d370c0
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/lib/index.js +2 -1
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -3754,7 +3754,8 @@ var Listbox = React.forwardRef(function (_a, ref) {
|
|
|
3754
3754
|
}
|
|
3755
3755
|
}, [options, activeOption, navigation, handleSelect]);
|
|
3756
3756
|
var handleFocus = React.useCallback(function (event) {
|
|
3757
|
-
if (!activeOption
|
|
3757
|
+
if (!activeOption ||
|
|
3758
|
+
!options.some(function (option) { return option.element === activeOption.element; })) {
|
|
3758
3759
|
var firstOption = options.find(function (option) { return !isDisabledOption(option); });
|
|
3759
3760
|
// istanbul ignore else
|
|
3760
3761
|
if (firstOption) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deque/cauldron-react",
|
|
3
|
-
"version": "6.13.0-canary.
|
|
3
|
+
"version": "6.13.0-canary.55d370c0",
|
|
4
4
|
"license": "MPL-2.0",
|
|
5
5
|
"description": "Fully accessible react components library for Deque Cauldron",
|
|
6
6
|
"homepage": "https://cauldron.dequelabs.com/",
|