-
Notifications
You must be signed in to change notification settings - Fork 30k
Description
I am having a HtmlElementView which will have Html content to render it, so when i open it first time its works fine as expected when i go back and open again its showing error.Here i have attached the reproducing example repo https://github.com/ThalapathySiva/flutter_html_reproducing_repo which will have two buttons on home page first click any one of those it will open the html render screen and it will work first time just go back and click the button again it will throw error without rendering and if you go back and refresh the whole window and tapped the button again it works this is the scenario by the way the contentwindow is getting null thats the issue.How can we handle this case. Thank you
Error :
TypeError: Cannot read property 'Symbol(dartx.postMessage)' of null
at http://localhost:55601/dart_sdk.js:33443:33
at internalCallback (http://localhost:55601/dart_sdk.js:25104:11)