|
@@ -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) => {
|