react-native/React
Mehdi Mulani 97153d68cf Guard against bad values set in RCTCustomScrollView
Summary:
UIScrollView's internal logic with scroll indicator dies when bad values (e.g. NaN/Infinity) are set on the position/size.
We already guard UIManager with these checks but the RCTScrollView's underlying scrollview (RCTCustomScrollView) can get these set from other places, and we're seeing crashes in this area.

Reviewed By: javache

Differential Revision: D4088601

fbshipit-source-id: b1185cc7c65ba0266787441169264c94338fc55c
2016-10-27 09:28:32 -07:00
..
Base Modules export constants if any superclass exports them 2016-10-27 04:29:01 -07:00
CSSLayout Don't preallocate child lists 2016-10-25 17:13:36 -07:00
Executors Add a way to access the underlying JavaScriptCore context 2016-10-26 03:43:44 -07:00
Modules Cleanup and simplify view config generation 2016-10-27 06:58:52 -07:00
Profiler Apple TV support 1: existing Objective C code should compile for tvOS 2016-09-27 06:28:33 -07:00
React.xcodeproj Move Platform constants to RCTPlatform 2016-10-27 04:29:00 -07:00
Views Guard against bad values set in RCTCustomScrollView 2016-10-27 09:28:32 -07:00