reduce leeway to 1, child clipping updated every scroll movement. This fixes scroll view behaviour

Reviewed By: @jspahrsummers

Differential Revision: D2479961
This commit is contained in:
Mike Armstrong
2015-09-25 09:05:36 -07:00
committed by facebook-github-bot-7
parent e2fdd59784
commit 23564fe65a

View File

@@ -471,7 +471,7 @@ RCT_NOT_IMPLEMENTED(- (instancetype)initWithCoder:(NSCoder *)aDecoder)
return;
}
static const CGFloat leeway = 50.0;
static const CGFloat leeway = 1.0;
const CGSize contentSize = _scrollView.contentSize;
const CGRect bounds = _scrollView.bounds;