Open sibelius opened 4 years ago
Shameless bump.
Does anyone know any alternatives to this clearly abandoned repository?
@renato-bvdash: No but if you do, please share :)
Hi, I made a quick patch to remove the warnings:
diff --git a/node_modules/react-native-lightbox/LightboxOverlay.js b/node_modules/react-native-lightbox/LightboxOverlay.js
index 9e01f9a..bf11c7e 100644
--- a/node_modules/react-native-lightbox/LightboxOverlay.js
+++ b/node_modules/react-native-lightbox/LightboxOverlay.js
@@ -99,7 +99,7 @@ export default class LightboxOverlay extends Component {
onPanResponderMove: Animated.event([
null,
{ dy: this.state.pan }
- ]),
+ ], { useNativeDriver: false }),
onPanResponderTerminationRequest: (evt, gestureState) => true,
onPanResponderRelease: (evt, gestureState) => {
if(Math.abs(gestureState.dy) > DRAG_DISMISS_THRESHOLD) {
I used patch-package.
If you want to patch it by hand, just open /node_modules/react-native-lightbox/LightboxOverlay.js and modify the line 102 to add { useNativeDriver: false }
as a secondary option of Animated.event()
Sadly, there are no other library good as this. How I wish this is moved to react-native-community and maintained.
Honest question: since this is licensed as MIT, is it acceptable/respected of somebody else took the code and published it to the community?
Probably, but it would be more useful if @oblador agreed with this :) Does anyone know the process for this, ie to move it to community?
@jacquesdev https://github.com/react-native-community/discussions-and-proposals might be a good start to find out :)
Please!!!
Bump. Also, if anyone knows of any up to date alternative it would be great.
I ended up using react-native-image-viewing for my own very particular needs. It works very well for react native.
are you willing to move to https://github.com/react-native-community?
Lightbox is great, but it is generating a bunch of warning in newer version of react-native
moving there we can add more maintainers and fix all of this issues