react-native-interactable-reanimated icon indicating copy to clipboard operation
react-native-interactable-reanimated copied to clipboard

Flatlist can't scroll

Open tackanoway35 opened this issue 4 years ago • 2 comments

I tested with interactablePlayground example but flatlist can't scroll, i only can swipe interable row. How to scroll flatlist? Thanks

tackanoway35 avatar Nov 12 '20 06:11 tackanoway35

That's my patch package:


diff --git a/node_modules/react-native-interactable-reanimated/src/index.js b/node_modules/react-native-interactable-reanimated/src/index.js
index 321ff17..338f084 100644
--- a/node_modules/react-native-interactable-reanimated/src/index.js
+++ b/node_modules/react-native-interactable-reanimated/src/index.js
@@ -481,6 +481,7 @@ class Interactable extends Component {
       <PanGestureHandler
         maxPointers={1}
         minDist={10}
+        failOffsetY={[-10, 10]}
         enabled={this.props.dragEnabled}
         onGestureEvent={this._onGestureEvent}
         onHandlerStateChange={this._onGestureEvent}

m4r00p avatar Aug 18 '21 08:08 m4r00p

does it solved ?

thanggggg1 avatar Sep 24 '22 01:09 thanggggg1