File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff 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 /**
You can’t perform that action at this time.
0 commit comments