Merge branch 'cleaning-ios-wkwebview' into renaming/rct-rnc-android

This commit is contained in:
Thibault Malbranche 2018-09-19 01:25:56 +02:00
commit 71cc1042f8

View File

@ -255,7 +255,7 @@ class WebView extends React.Component<WebViewSharedProps, State> {
const webView = (
<NativeWebView
ref={webViewRef}
ref={this.webViewRef}
key="webViewKey"
style={webViewStyles}
source={resolveAssetSource(source)}
@ -390,7 +390,7 @@ class WebView extends React.Component<WebViewSharedProps, State> {
* Returns the native `WebView` node.
*/
getWebViewHandle = () => {
return ReactNative.findNodeHandle(webViewRef.current);
return ReactNative.findNodeHandle(this.webViewRef.current);
};
_onLoadingStart = (event: WebViewNavigationEvent) => {