react-native-webview-autoheight icon indicating copy to clipboard operation
react-native-webview-autoheight copied to clipboard

Ref doesn't have method reload

Open dsvgit opened this issue 7 years ago • 4 comments

<MyWebView ref={ r => { this.webView = r } } />

this.webView.reload(); - doesn't work

dsvgit avatar Sep 22 '17 15:09 dsvgit

@dsvgit could you send a PR?

scazzy avatar Sep 28 '17 12:09 scazzy

This still doesn't work. How do we get a ref to the control?

aylesm avatar Apr 06 '18 16:04 aylesm

@scazzy

stopLoading() { this.webview.stopLoading(); }

is this method important? it's not being called from anywhere.

if it's not important we can remove this method and ref will work as expected. I can make required changes and send you the PR.

geekvijay avatar Jun 25 '18 13:06 geekvijay

@dsvgit @scazzy Do you have a fix for this error? 😃

jenskuhrjorgensen avatar Oct 18 '18 06:10 jenskuhrjorgensen