Skip to content

Commit e7dad98

Browse files
committed
cherrypick d113755
1 parent c6cf3d9 commit e7dad98

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

Libraries/Components/ScrollResponder.js

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -338,11 +338,12 @@ var ScrollResponderMixin = {
338338
* a touch has just started or ended.
339339
*/
340340
scrollResponderIsAnimating: function(): boolean {
341-
var now = Date.now();
342-
var timeSinceLastMomentumScrollEnd = now - this.state.lastMomentumScrollEndTime;
343-
var isAnimating = timeSinceLastMomentumScrollEnd < IS_ANIMATING_TOUCH_START_THRESHOLD_MS ||
344-
this.state.lastMomentumScrollEndTime < this.state.lastMomentumScrollBeginTime;
345-
return isAnimating;
341+
// var now = Date.now();
342+
// var timeSinceLastMomentumScrollEnd = now - this.state.lastMomentumScrollEndTime;
343+
// var isAnimating = timeSinceLastMomentumScrollEnd < IS_ANIMATING_TOUCH_START_THRESHOLD_MS ||
344+
// this.state.lastMomentumScrollEndTime < this.state.lastMomentumScrollBeginTime;
345+
// return isAnimating;
346+
return false;
346347
},
347348

348349
/**

0 commit comments

Comments
 (0)