@homebound/beam 2.417.0 → 2.417.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.
package/dist/index.js CHANGED
@@ -8541,7 +8541,7 @@ function TextFieldBase(props) {
8541
8541
  }
8542
8542
  }
8543
8543
  const onFocusChained = chain((e) => {
8544
- if (selectOnFocus) e.target.select();
8544
+ if (selectOnFocus && e.isTrusted) e.target.select();
8545
8545
  }, onFocus);
8546
8546
  function handleUnfocusedPlaceholderClick(e) {
8547
8547
  e.stopPropagation();
@@ -10758,6 +10758,7 @@ function ComboBoxBase(props) {
10758
10758
  onSelect(keys.map(keyToValue), newSelectedOptions);
10759
10759
  } else {
10760
10760
  const key = newValue;
10761
+ if (key === selectedKeys[0]) return;
10761
10762
  if (key === null || key === void 0) {
10762
10763
  onSelect([], []);
10763
10764
  return;