Selaa lähdekoodia

fix this.webView ref issue for stopLoading on ios

iou90 6 vuotta sitten
vanhempi
commit
3aa2dd6387
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1
    1
      autoHeightWebView/index.ios.js

+ 1
- 1
autoHeightWebView/index.ios.js Näytä tiedosto

132
   };
132
   };
133
 
133
 
134
   stopLoading() {
134
   stopLoading() {
135
-    this.webView.stopLoading();
135
+    this.webView.current.stopLoading();
136
   }
136
   }
137
 
137
 
138
   render() {
138
   render() {