rampkit-expo-dev 0.0.12 → 0.0.14
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/build/RampkitOverlay.js +9 -6
- package/package.json +1 -1
package/build/RampkitOverlay.js
CHANGED
|
@@ -273,12 +273,15 @@ function Overlay(props) {
|
|
|
273
273
|
if (isClosing)
|
|
274
274
|
return;
|
|
275
275
|
setIsClosing(true);
|
|
276
|
-
react_native_1.Animated.
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
276
|
+
react_native_1.Animated.sequence([
|
|
277
|
+
react_native_1.Animated.delay(150),
|
|
278
|
+
react_native_1.Animated.timing(overlayOpacity, {
|
|
279
|
+
toValue: 0,
|
|
280
|
+
duration: 320,
|
|
281
|
+
easing: react_native_1.Easing.out(react_native_1.Easing.cubic),
|
|
282
|
+
useNativeDriver: true,
|
|
283
|
+
}),
|
|
284
|
+
]).start(() => {
|
|
282
285
|
props.onRequestClose();
|
|
283
286
|
});
|
|
284
287
|
}, [isClosing, overlayOpacity, props.onRequestClose]);
|
package/package.json
CHANGED