@simplybusiness/mobius 5.30.0 → 5.30.1

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## 5.30.1
4
+
5
+ ### Patch Changes
6
+
7
+ - d110d3c: Combobox fires onFocus events without blocking logic
8
+
3
9
  ## 5.30.0
4
10
 
5
11
  ### Minor Changes
package/dist/cjs/index.js CHANGED
@@ -1565,12 +1565,11 @@ var ComboboxInner = (0, import_react25.forwardRef)(
1565
1565
  const { down } = useBreakpoint();
1566
1566
  const isMobile = down("md");
1567
1567
  const handleFocus = (e) => {
1568
+ onFocus?.(e);
1568
1569
  if (!filteredOptions || filteredOptions.length === 0) return;
1569
1570
  if (blurTimeoutRef.current) {
1570
1571
  clearTimeout(blurTimeoutRef.current);
1571
1572
  blurTimeoutRef.current = null;
1572
- } else {
1573
- onFocus?.(e);
1574
1573
  }
1575
1574
  setIsOpen(true);
1576
1575
  };