tamagui 1.135.0 → 1.135.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.
- package/dist/native.js +17 -16
- package/dist/native.js.map +1 -1
- package/dist/test.native.js +17 -16
- package/dist/test.native.js.map +1 -1
- package/package.json +55 -55
package/dist/test.native.js
CHANGED
|
@@ -17949,26 +17949,27 @@ var require_SheetImplementationCustom_native = __commonJS({
|
|
|
17949
17949
|
...animationConfig
|
|
17950
17950
|
}));
|
|
17951
17951
|
}
|
|
17952
|
-
})
|
|
17953
|
-
return !(disableAnimation || !frameSize || !screenSize || isHidden || hasntMeasured && !open);
|
|
17954
|
-
}();
|
|
17952
|
+
});
|
|
17955
17953
|
(0, import_constants4.useIsomorphicLayoutEffect)(function() {
|
|
17956
|
-
hasntMeasured && screenSize && frameSize
|
|
17957
|
-
|
|
17958
|
-
|
|
17959
|
-
|
|
17960
|
-
|
|
17961
|
-
|
|
17962
|
-
|
|
17963
|
-
|
|
17954
|
+
if (hasntMeasured && screenSize && frameSize) {
|
|
17955
|
+
at.current = screenSize, animatedNumber.setValue(screenSize, {
|
|
17956
|
+
type: "timing",
|
|
17957
|
+
duration: 0
|
|
17958
|
+
}, function() {
|
|
17959
|
+
setTimeout(function() {
|
|
17960
|
+
setDisableAnimation(!1);
|
|
17961
|
+
}, 10);
|
|
17962
|
+
});
|
|
17963
|
+
return;
|
|
17964
|
+
}
|
|
17965
|
+
disableAnimation || !frameSize || !screenSize || isHidden || hasntMeasured && !open || (animateTo(position), position === -1 && (scrollBridge.scrollLock = !1, scrollBridge.scrollStartY = -1));
|
|
17964
17966
|
}, [
|
|
17965
17967
|
hasntMeasured,
|
|
17968
|
+
disableAnimation,
|
|
17969
|
+
isHidden,
|
|
17970
|
+
frameSize,
|
|
17966
17971
|
screenSize,
|
|
17967
|
-
|
|
17968
|
-
]), (0, import_constants4.useIsomorphicLayoutEffect)(function() {
|
|
17969
|
-
isAbleToPosition && (animateTo(position), position === -1 && (scrollBridge.scrollLock = !1, scrollBridge.scrollStartY = -1));
|
|
17970
|
-
}, [
|
|
17971
|
-
isAbleToPosition,
|
|
17972
|
+
open,
|
|
17972
17973
|
position
|
|
17973
17974
|
]);
|
|
17974
17975
|
var _props_disableDrag, disableDrag = (_props_disableDrag = props.disableDrag) !== null && _props_disableDrag !== void 0 ? _props_disableDrag : controller == null ? void 0 : controller.disableDrag, themeName = (0, import_core12.useThemeName)(), [isDragging, setIsDragging] = import_react3.default.useState(!1), panResponder = import_react3.default.useMemo(function() {
|