-
-
Notifications
You must be signed in to change notification settings - Fork 893
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Iframe does not change when the html string passed to data changes #337
Comments
You can use a Full example
|
This is a tricky one. You are spot-on with your analysis that changing webview's |
I solved this in the above PR, basically it just checks to see if the url has changed since the last time it received a url, then loads it in the webview if it has. You can test this with the below code:
|
I have same screen to display different html content. So my html string gets changed. When the string changes everything changes as expected except the iframe. The iframe renders the first html string data and it does not change when the html string is changed. It shows the same iframe it rendered before instead of the new one.
The iframe is rendered using webview, so I think this could be the issue. In webview when the initialUrl is changed the webview does not change. we must use webview controller to change the url of webview.
The text was updated successfully, but these errors were encountered: