We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b241eff commit fbcec20Copy full SHA for fbcec20
src/RefreshControl.web.js
@@ -80,6 +80,7 @@ export default function RefreshControl({
80
const containerDOM = findNodeHandle(containerRef.current)
81
if (!containerDOM) return false
82
return containerDOM.children[0].scrollTop === 0
83
+ && (Math.abs(gestureState.dy) > Math.abs(gestureState.dx) * 2 && Math.abs(gestureState.vy) > Math.abs(gestureState.vx) * 2.5)
84
},
85
onMoveShouldSetPanResponderCapture: () => false,
86
onPanResponderMove: (_, gestureState) => {
0 commit comments