Skip to content
This repository has been archived by the owner on Apr 27, 2021. It is now read-only.

Commit

Permalink
Gesture hotfix for iPhone 6S
Browse files Browse the repository at this point in the history
  • Loading branch information
masom committed Nov 19, 2015
1 parent e282809 commit 096317e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions index.js
Expand Up @@ -107,6 +107,9 @@ var Swipeout = React.createClass({
return true;
}
, _handleMoveShouldSetPanResponder: function(e: Object, gestureState: Object): boolean {
if (gestureState.dx === 0 || gestureState.dy === 0) {
return false;
}
return true;
}
, _handlePanResponderGrant: function(e: Object, gestureState: Object) {
Expand Down

0 comments on commit 096317e

Please sign in to comment.