react-native-lightbox-v2
Advanced tools
Comparing version 0.8.7 to 0.8.8
@@ -85,3 +85,3 @@ import React, { useState, useRef, useEffect } from "react"; | ||
onPanResponderMove: Animated.event([null, { dy: pan.current }], { | ||
useNativeDriver: false, | ||
useNativeDriver: props.useNativeDriver, | ||
}), | ||
@@ -103,3 +103,3 @@ onPanResponderTerminationRequest: (evt, gestureState) => true, | ||
...props.springConfig, | ||
useNativeDriver: false, | ||
useNativeDriver: props.useNativeDriver, | ||
}).start(() => setIsPanning(false)); | ||
@@ -109,3 +109,3 @@ } | ||
}); | ||
}, []); | ||
}, [props.useNativeDriver]); | ||
@@ -135,3 +135,3 @@ useEffect(() => { | ||
...props.springConfig, | ||
useNativeDriver: false, | ||
useNativeDriver: props.useNativeDriver, | ||
}).start(() => { | ||
@@ -153,3 +153,3 @@ setIsAnimating(false); | ||
...props.springConfig, | ||
useNativeDriver: false, | ||
useNativeDriver: props.useNativeDriver, | ||
}).start(() => { | ||
@@ -278,2 +278,3 @@ setIsAnimating(false); | ||
swipeToDismiss: PropTypes.bool, | ||
useNativeDriver: PropTypes.bool | ||
}; | ||
@@ -284,4 +285,5 @@ | ||
backgroundColor: "black", | ||
useNativeDriver: false | ||
}; | ||
export default LightboxOverlay; |
{ | ||
"name": "react-native-lightbox-v2", | ||
"version": "0.8.7", | ||
"version": "0.8.8", | ||
"description": "Images etc in Full Screen Lightbox Popovers for React Native", | ||
@@ -5,0 +5,0 @@ "main": "Lightbox.js", |
@@ -22,3 +22,3 @@ # react-native-lightbox-v2 | ||
const LightboxView ({ navigator }) => ( | ||
const LightboxView = ({ navigator }) => ( | ||
<Lightbox navigator={navigator}> | ||
@@ -25,0 +25,0 @@ <Image |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
15545
403