소스 검색

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

Thibault Malbranche 6 년 전
부모
커밋
71cc1042f8
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2
    2
      js/WebView.ios.js

+ 2
- 2
js/WebView.ios.js 파일 보기

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