fluttercommunity / flutter_webview_plugin

Community WebView Plugin - Allows Flutter to communicate with a native WebView.
https://pub.dev/packages/flutter_webview_plugin
Other
1.48k stars 929 forks source link

"initialChild" is always displayed in iOS after "initialChild" is set. #928

Open LvJson opened 2 years ago

LvJson commented 2 years ago

After initialChild is set, only the content in initialChild is displayed. When the "initialChild" is cancelled the correct page will load normally. Android doesn't have this problem.

LvJson commented 2 years ago

I tested it again, and it's not the reason I said. It's when "Hidden = True" that the page doesn't load.

LvJson commented 2 years ago

Further research found that iOS could not listen to the callback after the page was loaded