rampkit-expo-dev 0.0.7 → 0.0.9
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 +1 -10
- package/package.json +1 -1
package/build/RampkitOverlay.js
CHANGED
|
@@ -248,11 +248,6 @@ function Overlay(props) {
|
|
|
248
248
|
// Fade-in when overlay becomes visible
|
|
249
249
|
react_1.default.useEffect(() => {
|
|
250
250
|
if (visible && !isClosing) {
|
|
251
|
-
try {
|
|
252
|
-
overlayOpacity.stopAnimation();
|
|
253
|
-
}
|
|
254
|
-
catch (_) { }
|
|
255
|
-
overlayOpacity.setValue(0);
|
|
256
251
|
react_native_1.Animated.timing(overlayOpacity, {
|
|
257
252
|
toValue: 1,
|
|
258
253
|
duration: 220,
|
|
@@ -265,10 +260,6 @@ function Overlay(props) {
|
|
|
265
260
|
if (isClosing)
|
|
266
261
|
return;
|
|
267
262
|
setIsClosing(true);
|
|
268
|
-
try {
|
|
269
|
-
overlayOpacity.stopAnimation();
|
|
270
|
-
}
|
|
271
|
-
catch (_) { }
|
|
272
263
|
react_native_1.Animated.timing(overlayOpacity, {
|
|
273
264
|
toValue: 0,
|
|
274
265
|
duration: 220,
|
|
@@ -486,7 +477,7 @@ function Overlay(props) {
|
|
|
486
477
|
}
|
|
487
478
|
catch (_) { }
|
|
488
479
|
}
|
|
489
|
-
return ((0, jsx_runtime_1.jsxs)(react_native_1.View, { style: [
|
|
480
|
+
return ((0, jsx_runtime_1.jsxs)(react_native_1.Animated.View, { style: [
|
|
490
481
|
styles.root,
|
|
491
482
|
!visible && styles.invisible,
|
|
492
483
|
visible && { opacity: overlayOpacity },
|
package/package.json
CHANGED