react-magma-dom 4.7.0-next.14 → 4.7.0-next.15

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.
@@ -12242,7 +12242,10 @@ function InternalCombobox(props) {
12242
12242
  function defaultHandleClearIndicatorClick(event) {
12243
12243
  event.stopPropagation();
12244
12244
  if (inputRef.current) {
12245
- inputRef.current.focus();
12245
+ var inputElement = inputRef.current.querySelector('input');
12246
+ if (inputElement) {
12247
+ inputElement.focus();
12248
+ }
12246
12249
  }
12247
12250
  reset();
12248
12251
  }
@@ -12528,7 +12531,10 @@ function MultiCombobox(props) {
12528
12531
  function defaultHandleClearIndicatorClick(event) {
12529
12532
  event.stopPropagation();
12530
12533
  if (inputRef.current) {
12531
- inputRef.current.focus();
12534
+ var inputElement = inputRef.current.querySelector('input');
12535
+ if (inputElement) {
12536
+ inputElement.focus();
12537
+ }
12532
12538
  }
12533
12539
  reset();
12534
12540
  }