sellmate-design-system-react 0.8.0 → 0.8.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.
@@ -3685,6 +3685,7 @@ function SPortal({
3685
3685
  viewportPadding = 0,
3686
3686
  onOpenAutoFocus,
3687
3687
  onCloseAutoFocus,
3688
+ onPointerDownOutside,
3688
3689
  children,
3689
3690
  className,
3690
3691
  style,
@@ -3713,7 +3714,9 @@ function SPortal({
3713
3714
  onPointerDownOutside: (e) => {
3714
3715
  if (persistent || anchorRef.current?.contains(e.target)) {
3715
3716
  e.preventDefault();
3717
+ return;
3716
3718
  }
3719
+ onPointerDownOutside?.(e);
3717
3720
  },
3718
3721
  onFocusOutside: (e) => {
3719
3722
  if (persistent || anchorRef.current?.contains(e.target)) {