Skip to content

Commit

Permalink
fix: update activeOffsetX
Browse files Browse the repository at this point in the history
  • Loading branch information
tsdmrfth committed Apr 11, 2021
1 parent df16053 commit 855432e
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/Steve.js
Original file line number Diff line number Diff line change
Expand Up @@ -185,10 +185,12 @@ export const Steve = ({ data, renderItem, keyExtractor, containerStyle, isRTL, i

return (
<PanGestureHandler
activeOffsetX={[-1, 1]}
activeOffsetX={[-10, 10]}
{...{ onGestureEvent }}>
<Animated.View style={[styles.container, containerStyle]}>
<Items/>
<Animated.View style={rtlStyle}>
<Animated.View style={[styles.container, containerStyle, rtlStyle]}>
<Items/>
</Animated.View>
</Animated.View>
</PanGestureHandler>
)
Expand Down

0 comments on commit 855432e

Please sign in to comment.