From f0764051758a2bcb5af38d11aba64553d5ec2720 Mon Sep 17 00:00:00 2001 From: Manuel werder Date: Thu, 15 Jul 2021 13:02:40 +0200 Subject: [PATCH] Fix warning 'Animated.event now requires a second argument for options' --- index.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/index.js b/index.js index 5776deb..795d693 100644 --- a/index.js +++ b/index.js @@ -93,7 +93,9 @@ class CustomCrop extends Component { dx: corner.x, dy: corner.y, }, - ]), + ], + {useNativeDriver: false} + ), onPanResponderRelease: () => { corner.flattenOffset(); this.updateOverlayString();