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.
@@ -3662,6 +3662,7 @@ function SPortal({
3662
3662
  viewportPadding = 0,
3663
3663
  onOpenAutoFocus,
3664
3664
  onCloseAutoFocus,
3665
+ onPointerDownOutside,
3665
3666
  children,
3666
3667
  className,
3667
3668
  style,
@@ -3690,7 +3691,9 @@ function SPortal({
3690
3691
  onPointerDownOutside: (e) => {
3691
3692
  if (persistent || anchorRef.current?.contains(e.target)) {
3692
3693
  e.preventDefault();
3694
+ return;
3693
3695
  }
3696
+ onPointerDownOutside?.(e);
3694
3697
  },
3695
3698
  onFocusOutside: (e) => {
3696
3699
  if (persistent || anchorRef.current?.contains(e.target)) {