@homebound/beam 2.91.1 → 2.91.2

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.
@@ -71,10 +71,12 @@ function SelectFieldBase(props) {
71
71
  selectedKeys: [firstKey],
72
72
  selectedOptions: firstSelectedOption ? [firstSelectedOption] : [],
73
73
  });
74
- // When a single select menu item changes, then blur the field
75
- (_a = inputRef.current) === null || _a === void 0 ? void 0 : _a.blur();
76
74
  }
77
75
  selectionChanged && onSelect([...keys.values()].map(Value_1.keyToValue));
76
+ if (!multiselect) {
77
+ // When a single select menu item changes, then blur the field AFTER `onSelect` has been called
78
+ (_a = inputRef.current) === null || _a === void 0 ? void 0 : _a.blur();
79
+ }
78
80
  }
79
81
  function onInputChange(value) {
80
82
  setFieldState((prevState) => ({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@homebound/beam",
3
- "version": "2.91.1",
3
+ "version": "2.91.2",
4
4
  "author": "Homebound",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",