@plasmicpkgs/react-aria 0.0.19 → 0.0.20
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/dist/.tsbuildinfo +1 -1
- package/dist/contexts.d.ts +1 -1
- package/dist/react-aria.esm.js +3 -0
- package/dist/react-aria.esm.js.map +1 -1
- package/dist/react-aria.js +3 -0
- package/dist/react-aria.js.map +1 -1
- package/dist/registerSwitch.d.ts +1 -1
- package/package.json +7 -6
- package/skinny/contexts.d.ts +1 -1
- package/skinny/registerComboBox.cjs.js +3 -0
- package/skinny/registerComboBox.cjs.js.map +1 -1
- package/skinny/registerComboBox.esm.js +3 -0
- package/skinny/registerComboBox.esm.js.map +1 -1
- package/skinny/registerSwitch.d.ts +1 -1
package/dist/react-aria.js
CHANGED
|
@@ -960,6 +960,9 @@ function BaseComboBox(props) {
|
|
|
960
960
|
const disabledKeys = flattenedOptions.filter((op) => op.isDisabled).map((op) => op.value);
|
|
961
961
|
const onSelectionChange = React__default.default.useCallback(
|
|
962
962
|
(key) => {
|
|
963
|
+
if (key === null) {
|
|
964
|
+
return;
|
|
965
|
+
}
|
|
963
966
|
const selectedOption = flattenedOptions == null ? void 0 : flattenedOptions.find((op) => op.value === key);
|
|
964
967
|
if (valueType === "text") {
|
|
965
968
|
if (selectedOption) {
|