Open baoxiehao opened 5 years ago
Same need
up
I need this also. I have 2 tabs which both contain WebviewScaffold() and 1 'normal' tab. Switching between 'normal' to any of the WebviewScaffolds works as expected. But switching between WebviewScaffolds results in infinite loading. If I first switch to the 'normal' tab and then back to a WebviewScaffold it all works.
First I thought it might be of the widget tree staying the 'same'. So I tried using keys but that didn't seem to work.
I need this thing too
I also need this..did anyone find a solution for this ?
Using a Stack Widget can solve the problem, you can see a proper implementation here - https://github.com/subodhk01/nestin-app/blob/webview/lib/main.dart
the same problem!
I have a HomePage widget which contains a BottomNavigationBar, and there are 3 tabs in it. The first page is a normal flutter page, and the 2nd and 3rd pages are webview pages with different urls. But when I tap on 2nd page at first, 2nd web page will be load and 3rd will NOT, vice versa.
The logs shows that the 3rd page's initState was called, but there is no actual page loading.