react-native/Libraries/Components
Janic Duplessis eac617d6ee Add null check before accessing the refresh control ref
Summary:Unmounting the RefreshControl during onRefresh callback causes the native ref to become null, this simply adds a null check to prevent the crash.
Closes https://github.com/facebook/react-native/pull/6931

Differential Revision: D3167637

fb-gh-sync-id: c2420b7a3b672d62dd349a6d35bb05399a00620c
fbshipit-source-id: c2420b7a3b672d62dd349a6d35bb05399a00620c
2016-04-12 01:27:18 -07:00
..
ActivityIndicatorIOS Compose propTypes from View.propTypes where appropriate. 2015-11-18 13:06:27 -08:00
Clipboard Annotate Clipboard module 2016-02-15 10:05:34 -08:00
DatePicker Replace direct access of NativeModules.UIManager with require('UIManager') 2016-01-30 07:36:34 -08:00
DatePickerAndroid Remove knowledge of fbjs from the packager 2016-03-02 04:28:38 -08:00
DrawerAndroid Fix DrawerLayoutAndroid method parameter 2016-04-11 04:27:27 -07:00
Intent Remove knowledge of fbjs from the packager 2016-03-02 04:28:38 -08:00
MapView Removed unnecessary exportedConstants 2016-03-10 10:21:34 -08:00
Navigation Display component methods on the website and tweak the documentation 2016-04-09 11:13:28 -07:00
Picker Add position to Picker onValueChange's call 2016-02-19 06:50:33 -08:00
ProgressBarAndroid ProgressBarAndroid: default value for styleAttr 2016-01-07 12:02:37 -08:00
ProgressViewIOS Compose propTypes from View.propTypes where appropriate. 2015-11-18 13:06:27 -08:00
RefreshControl Add null check before accessing the refresh control ref 2016-04-12 01:27:18 -07:00
ScrollView Display component methods on the website and tweak the documentation 2016-04-09 11:13:28 -07:00
SegmentedControlIOS CHORE - Remove Trailing Spaces 2016-04-06 09:21:53 -07:00
Slider Fix website after open sourcing Slider 2016-04-06 08:51:23 -07:00
SliderIOS Fix website after open sourcing Slider 2016-04-06 08:51:23 -07:00
StatusBar Display component methods on the website and tweak the documentation 2016-04-09 11:13:28 -07:00
Switch RN: Improve <Switch> Documentation 2016-03-25 15:17:20 -07:00
SwitchAndroid RN: Improve <Switch> Documentation 2016-03-25 15:17:20 -07:00
SwitchIOS RN: Improve <Switch> Documentation 2016-03-25 15:17:20 -07:00
TabBarIOS Added ColorPropType 2015-12-23 10:08:38 -08:00
TextInput Display component methods on the website and tweak the documentation 2016-04-09 11:13:28 -07:00
TimePickerAndroid Fixed typo in docs 2016-04-06 08:55:20 -07:00
ToastAndroid Remove knowledge of fbjs from the packager 2016-03-02 04:28:38 -08:00
ToolbarAndroid Added ColorPropType 2015-12-23 10:08:38 -08:00
Touchable Display component methods on the website and tweak the documentation 2016-04-09 11:13:28 -07:00
UnimplementedViews Quick fix to require cycle in UnimplementedView 2015-11-23 14:14:32 -08:00
View Fix bad wording in pointer events doc 2016-03-24 19:53:26 -07:00
ViewPager React.findNodeHandle -> ReactNative.findNodeHandle 2016-04-07 19:44:31 -07:00
WebView Display component methods on the website and tweak the documentation 2016-04-09 11:13:28 -07:00
ScrollResponder.js React.findNodeHandle -> ReactNative.findNodeHandle 2016-04-07 19:44:31 -07:00
StaticContainer.js Move stuff out of vendor/react_contrib/ 2015-10-12 11:18:30 -07:00
StaticRenderer.js [Haste] @provides -> @providesModule StaticRenderer 2015-05-14 08:42:13 -08:00
Subscribable.js [ReactNative] clean lint for Libraries/Components 2015-05-18 15:54:07 -08:00