-
Notifications
You must be signed in to change notification settings - Fork 936
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
Second screen below WebviewScaffold #224
Comments
Please retest with latest version |
@slightfoot The problem remains. I need to hide the Webview before |
Same problem with me. I have a bottom tabbar and make WebviewScaffold inside as a tab. But when I select this tab, the WebView totally cover on the whole screen and I couldn't see the tabbar on the bottom. Even if I use rect , when I select another tab ,the WebView is still there. |
version 0.3.0+2 fix my first problem, now webview don't cover above tabbar. But when I select another tab, webview on first tab still there, only appBar changes. |
I'm using |
Can you post a simple sample of it? I got the same problem but i can't hide it.. only the topbar changed :/ |
I can confirm that the issue is present. I tested with the latest version of the plugin and here is the code that I call to spawn the view above browser:
|
Any news on when this might be fixed? |
+1 with this issue |
same problem |
+1 with this issue |
Even I am facing same problem @xinnai is problem solved |
No one can help. Because the base code render web view on top of all widgets. |
@hienlh - you are right is it working as it is designed. As README.MD says:
To overcome this issue you should use another web view that integrates with the widget tree like https://pub.dev/packages/webview_flutter or workaround it by changing logic in your application like we did in the past. |
Thanks but I used 2 other packages (Inappwebview and webview_flutter). But they also have other problems. So I did change my logic to use this package, though it's so inconvenient |
Hi, |
@salva9315 some sample code would be awesome |
@dri94 the key code. |
This fixed the issue for me, hope it helps someone else :) onPressed: () async {
flutterWebViewPlugin.hide();
await Navigator.of(context).push(
MaterialPageRoute(
builder: (context) => NetworkTestScreen(),
),
);
flutterWebViewPlugin.show();
}, |
+1 same problem here. I also fixed by adding flutterWebViewPlugin.hide(); before route change Thank you |
This is worked for me well |
Using WebviewScaffold with appBar and bottomNavigationBar bugs the Navigation.push.
I'm using the WebviewScaffold as my primary route "/", with two IconButtons inside a Row, in the bottomNavigationBar. Also, using the AppBar inside the WebviewScaffold.
Opening the second page replaces only the AppBar and the BottomNavigationBar, the WebView is still there.
Maybe I'm doing something wrong with the Navigator, I don't know. :/
The text was updated successfully, but these errors were encountered: