@sarunyu/system-one 4.9.8 → 4.9.10

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
@@ -2872,7 +2872,10 @@ const Dropdown = forwardRef(
2872
2872
  children: filteredOptions.length > 0 ? filteredOptions.map((opt) => /* @__PURE__ */ jsx(
2873
2873
  "div",
2874
2874
  {
2875
- onClick: () => handleSelect(opt.value),
2875
+ onClick: (e) => {
2876
+ e.stopPropagation();
2877
+ handleSelect(opt.value);
2878
+ },
2876
2879
  className: cn(
2877
2880
  "w-full shrink-0 rounded-[4px] cursor-pointer transition-colors duration-100",
2878
2881
  opt.value === currentValue ? "bg-primary-action-light" : "bg-popover hover:bg-disabled-bg"