@mmstack/primitives 22.10.0 → 22.10.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.
@@ -3589,7 +3589,7 @@ function createPointerDrag(opt) {
3589
3589
  return base;
3590
3590
  }
3591
3591
  const hostRef = inject((ElementRef), { optional: true });
3592
- const { target = hostRef?.nativeElement, coordinateSpace = 'client', activationThreshold = 3, throttle = 16, handleSelector, buttons = [0], stopPropagation = false, debugName = 'pointerDrag', } = opt ?? {};
3592
+ const { target = hostRef?.nativeElement, coordinateSpace = 'client', activationThreshold = 3, throttle = 16, handleSelector, buttons = [0], stopPropagation = false, capture = false, debugName = 'pointerDrag', } = opt ?? {};
3593
3593
  const resolve = (t) => {
3594
3594
  if (!t)
3595
3595
  return null;
@@ -3721,6 +3721,7 @@ function createPointerDrag(opt) {
3721
3721
  const controller = new AbortController();
3722
3722
  el.addEventListener('pointerdown', onDown(el), {
3723
3723
  signal: controller.signal,
3724
+ capture,
3724
3725
  });
3725
3726
  return () => {
3726
3727
  controller.abort();