Skip to content

Commit

Permalink
Merge branch 'pritamsoni-hsr-ps'
Browse files Browse the repository at this point in the history
  • Loading branch information
enesozturk committed Sep 18, 2020
2 parents 5148634 + fccbde0 commit 093fb08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Panel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ class SwipeablePanel extends React.Component<SwipeablePanelProps, SwipeablePanel
)
this.state.pan.setValue({
x: 0,
y: gestureState.dy,
y: Math.max(0, gestureState.dy),
});
},
onPanResponderRelease: (evt, gestureState) => {
Expand Down

0 comments on commit 093fb08

Please sign in to comment.