tamagui 1.126.4 → 1.126.6

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.
@@ -6628,14 +6628,16 @@ var require_mergeProps_native = __commonJS({
6628
6628
  };
6629
6629
  function mergeProp(out, a, b, key, inverseShorthands) {
6630
6630
  var longhand = (inverseShorthands == null ? void 0 : inverseShorthands[key]) || null, val = a[key];
6631
- if (key in import_pseudoDescriptors.pseudoDescriptors || import_useMedia.mediaKeys.has(key)) {
6632
- out[key] = {
6633
- ...out[key],
6634
- ...val
6635
- };
6636
- return;
6631
+ if (!(b && (key in b || longhand && longhand in b))) {
6632
+ if (key in import_pseudoDescriptors.pseudoDescriptors || import_useMedia.mediaKeys.has(key)) {
6633
+ out[key] = {
6634
+ ...out[key],
6635
+ ...val
6636
+ };
6637
+ return;
6638
+ }
6639
+ out[longhand || key] = val;
6637
6640
  }
6638
- b && (key in b || longhand && longhand in b) || (out[longhand || key] = val);
6639
6641
  }
6640
6642
  }
6641
6643
  });
@@ -17792,9 +17794,9 @@ var require_SheetImplementationCustom_native = __commonJS({
17792
17794
  });
17793
17795
  }, previouslyScrolling = !1, onMoveShouldSet = function(e, param) {
17794
17796
  var { dy } = param;
17795
- if (e.target === providerProps.handleRef.current || !scrollEnabled.current || !hasScrollView.current) return !0;
17797
+ if (e.target === providerProps.handleRef.current || !scrollEnabled.current) return !0;
17796
17798
  var isScrolled = scrollBridge.y !== 0, isDraggingUp = dy < 0, isNearTop = scrollBridge.paneY - 5 <= scrollBridge.paneMinY;
17797
- return isScrolled ? (previouslyScrolling = !0, !1) : isNearTop && scrollEnabled.current && isDraggingUp ? !1 : Math.abs(dy) > 5;
17799
+ return isScrolled ? (previouslyScrolling = !0, !1) : isNearTop && scrollEnabled.current && hasScrollView.current && isDraggingUp ? !1 : Math.abs(dy) > 10;
17798
17800
  }, grant = function() {
17799
17801
  setScrollEnabled(!1), setPanning(!0), stopSpring(), startY = at.current;
17800
17802
  }, isExternalDrag = !1;