mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-29 04:35:36 +08:00
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:
committed by
facebook-github-bot-7
parent
e2fdd59784
commit
23564fe65a
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user