Hleb Barylskyi пре 6 година
родитељ
комит
221df3d50e
No account linked to committer's email address
1 измењених фајлова са 8 додато и 0 уклоњено
  1. 8
    0
      autoHeightWebView/index.android.js

+ 8
- 0
autoHeightWebView/index.android.js Прегледај датотеку

@@ -273,6 +273,14 @@ export default class AutoHeightWebView extends PureComponent {
273 273
     onLoadEnd && onLoadEnd(event);
274 274
   };
275 275
 
276
+  stopLoading() {
277
+    UIManager.dispatchViewManagerCommand(
278
+      findNodeHandle(this.webview),
279
+      UIManager.RCTAutoHeightWebView.Commands.stopLoading,
280
+      null
281
+    );
282
+  }
283
+
276 284
   render() {
277 285
     const { height, script, isChangingSource, heightOffset } = this.state;
278 286
     const {