@sarunyu/system-one 4.9.8 → 4.9.9

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
@@ -2891,7 +2891,10 @@ const Dropdown = React.forwardRef(
2891
2891
  children: filteredOptions.length > 0 ? filteredOptions.map((opt) => /* @__PURE__ */ jsxRuntime.jsx(
2892
2892
  "div",
2893
2893
  {
2894
- onClick: () => handleSelect(opt.value),
2894
+ onClick: (e) => {
2895
+ e.stopPropagation();
2896
+ handleSelect(opt.value);
2897
+ },
2895
2898
  className: cn(
2896
2899
  "w-full shrink-0 rounded-[4px] cursor-pointer transition-colors duration-100",
2897
2900
  opt.value === currentValue ? "bg-primary-action-light" : "bg-popover hover:bg-disabled-bg"