react-native/Libraries
James Ide 08d30e751b [ActivityIndicator] Add the onLayout prop to the outer container view
Summary:
ActivityIndicator was forwarding all of its props except `style` to the inner native view. This meant that onLayout would report a zero-sized frame that was relative to the wrapper view instead of the parent of the ActivityIndicator.

This diff adds `onLayout` to the wrapper view instead of the native view.

In general, all components that forward props need to be audited in this manner.

Closes https://github.com/facebook/react-native/pull/1292
Github Author: James Ide <ide@jameside.com>

Test Plan: `<ActivityIndicator onLayout={...} />` reports the size of the spinner plus a position relative to its parent view.
2015-05-15 18:08:32 -08:00
..
ART [ReactNative] Rename ReactIOS JS module (and relatives) to ReactNative. 2015-05-13 13:24:35 -07:00
ActionSheetIOS [ReactNative] Fix analyze errors on oss 2015-04-24 08:28:35 -08:00
AdSupport [ReactNative] Fix analyze errors on oss 2015-04-24 08:28:35 -08:00
Animation [react-native] Codemod .getNodeHandle, .getNativeNode to React.findNodeHandle 2015-05-13 13:24:37 -07:00
AppRegistry [ReactNative] Back out D2014163 entirely 2015-04-23 12:02:47 -08:00
AppStateIOS [ReactNative] Document AppStateIOS 2015-03-25 14:24:41 -08:00
BatchedBridge [Flow] v0.11.0 cleaning - Part 15 (Libraries/FBReactKit/js) 2015-05-13 13:24:37 -07:00
CameraRoll [Flow] v0.11.0 cleaning - Part 14 (react-native-github) 2015-05-13 13:24:36 -07:00
Components [ActivityIndicator] Add the onLayout prop to the outer container view 2015-05-15 18:08:32 -08:00
CustomComponents Add more documentation in ListViewDataSource 2015-05-15 13:47:43 -08:00
Device flowify some Libraries 2015-03-25 11:09:54 -08:00
Fetch Bump fetch and add exports/globals for Headers, Request and Response 2015-05-07 13:24:16 -08:00
Geolocation [ReactNative] Use explicit doubles on RCTLocationOptions to avoid NSInvocation bug 2015-05-02 14:19:56 -08:00
Image [ActivityIndicator] Add the onLayout prop to the outer container view 2015-05-15 18:08:32 -08:00
Interaction React Native: Fix InteractionManager Race Condition 2015-04-13 11:14:11 -08:00
JavaScriptAppEngine [ReactNative] Add console.profile hooks to systrace 2015-05-14 15:59:20 -08:00
LinkingIOS Updates from Fri 24 Apr 2015-04-24 11:46:18 -07:00
NativeApp [ReactNative] Add "RCTNativeAppEventEmitter" 2015-05-15 16:57:18 -08:00
Network Force `responseHeaders` to lower case to respect case-insensitivity 2015-05-05 14:09:40 -08:00
Picker [ReactNative] Rename ReactIOS JS module (and relatives) to ReactNative. 2015-05-13 13:24:35 -07:00
PushNotificationIOS [ReactNative] pass in launchOptions to relevant bridged modules 2015-04-30 14:51:09 -08:00
RCTTest [ReactNative] Fail faster in OSS tests 2015-05-06 14:28:30 -08:00
RKBackendNode [ReactNative] Rename ReactIOS JS module (and relatives) to ReactNative. 2015-05-13 13:24:35 -07:00
ReactIOS [ReactNative] Fix some mount callback issues 2015-05-15 10:59:09 -08:00
ReactNative [ReactNative] Remove ReactNativeComponentMixin 2015-05-14 08:17:20 -08:00
Settings Fixed UIExplorer in Catalyst shell 2015-05-06 00:08:08 -08:00
Storage Make AsyncStorage types match the implementations 2015-05-01 18:26:11 -08:00
StyleSheet [ReactNative] Better error message when passing an Animated to a View 2015-05-15 11:01:46 -08:00
Text [ActivityIndicator] Add the onLayout prop to the outer container view 2015-05-15 18:08:32 -08:00
Utilities [ReactNative] Fix some mount callback issues 2015-05-15 10:59:09 -08:00
Vibration [ReactNative] Fix analyze errors on oss 2015-04-24 08:28:35 -08:00
WebSocket Fixed RCTWebSocket and chrome debugging in OSS 2015-05-15 11:37:07 -08:00
react-native [ReactNative] Add "RCTNativeAppEventEmitter" 2015-05-15 16:57:18 -08:00
vendor [ReactNative] Rename ReactIOS JS module (and relatives) to ReactNative. 2015-05-13 13:24:35 -07:00
Promise.js Replace ES6Promise with Promise 2015-04-15 06:06:29 -08:00