react-native-interactable-reanimated
react-native-interactable-reanimated copied to clipboard
Flatlist can't scroll
I tested with interactablePlayground example but flatlist can't scroll, i only can swipe interable row. How to scroll flatlist? Thanks
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}
does it solved ?