@shoplflow/base 0.15.3 → 0.16.0

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.cjs CHANGED
@@ -2065,9 +2065,10 @@ var InputButton = React3.forwardRef(
2065
2065
  onClick && onClick(e);
2066
2066
  }
2067
2067
  };
2068
- const handleOnClear = () => {
2068
+ const handleOnClear = (e) => {
2069
+ e.stopPropagation();
2069
2070
  if (!disabled) {
2070
- onClear && onClear();
2071
+ onClear && onClear(e);
2071
2072
  setText("");
2072
2073
  }
2073
2074
  };