Преглед на файлове

fix this.webView ref issue for stopLoading on ios

iou90 преди 5 години
родител
ревизия
3aa2dd6387
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1
    1
      autoHeightWebView/index.ios.js

+ 1
- 1
autoHeightWebView/index.ios.js Целия файл

@@ -132,7 +132,7 @@ export default class AutoHeightWebView extends PureComponent {
132 132
   };
133 133
 
134 134
   stopLoading() {
135
-    this.webView.stopLoading();
135
+    this.webView.current.stopLoading();
136 136
   }
137 137
 
138 138
   render() {