Skip to content

Commit 3c7e5b0

Browse files
committed
Fix onPanResponderTerminationRequest, remove useless _cancelLongPress call
1 parent 6e00a2c commit 3c7e5b0

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/Row.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,7 @@ export default class Row extends Component {
7878

7979
},
8080

81-
onPanResponderTerminationRequest: () => {
82-
this._cancelLongPress();
83-
},
81+
onPanResponderTerminationRequest: () => !this.state.active,
8482

8583
onPanResponderTerminate: () => {
8684
this._cancelLongPress();

0 commit comments

Comments
 (0)