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.
package/dist/native.js CHANGED
@@ -6997,14 +6997,16 @@ var require_mergeProps_native = __commonJS({
6997
6997
  };
6998
6998
  function mergeProp(out, a, b, key, inverseShorthands) {
6999
6999
  var longhand = (inverseShorthands == null ? void 0 : inverseShorthands[key]) || null, val = a[key];
7000
- if (key in import_pseudoDescriptors.pseudoDescriptors || import_useMedia.mediaKeys.has(key)) {
7001
- out[key] = {
7002
- ...out[key],
7003
- ...val
7004
- };
7005
- return;
7000
+ if (!(b && (key in b || longhand && longhand in b))) {
7001
+ if (key in import_pseudoDescriptors.pseudoDescriptors || import_useMedia.mediaKeys.has(key)) {
7002
+ out[key] = {
7003
+ ...out[key],
7004
+ ...val
7005
+ };
7006
+ return;
7007
+ }
7008
+ out[longhand || key] = val;
7006
7009
  }
7007
- b && (key in b || longhand && longhand in b) || (out[longhand || key] = val);
7008
7010
  }
7009
7011
  }
7010
7012
  });
@@ -18399,9 +18401,9 @@ var require_SheetImplementationCustom_native = __commonJS({
18399
18401
  });
18400
18402
  }, previouslyScrolling = !1, onMoveShouldSet = function(e, param) {
18401
18403
  var { dy } = param;
18402
- if (e.target === providerProps.handleRef.current || !scrollEnabled.current || !hasScrollView.current) return !0;
18404
+ if (e.target === providerProps.handleRef.current || !scrollEnabled.current) return !0;
18403
18405
  var isScrolled = scrollBridge.y !== 0, isDraggingUp = dy < 0, isNearTop = scrollBridge.paneY - 5 <= scrollBridge.paneMinY;
18404
- return isScrolled ? (previouslyScrolling = !0, !1) : isNearTop && scrollEnabled.current && isDraggingUp ? !1 : Math.abs(dy) > 5;
18406
+ return isScrolled ? (previouslyScrolling = !0, !1) : isNearTop && scrollEnabled.current && hasScrollView.current && isDraggingUp ? !1 : Math.abs(dy) > 10;
18405
18407
  }, grant = function() {
18406
18408
  setScrollEnabled(!1), setPanning(!0), stopSpring(), startY = at.current;
18407
18409
  }, isExternalDrag = !1;