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 931 forks source link

Can't return to the previous page. #266

Open itning opened 5 years ago

itning commented 5 years ago

When I open a web page and try to press the back key (physical key), it does not return to the previous page but instead displays a waiting page.

  1. When I open A page.

  2. I press back key.

nguyenlinhnttu commented 5 years ago

Me too. I have same problem.

peteretelej commented 5 years ago

To replicate the issue, open the page in the webview, and click within the loaded page (not a link, just to focus). Then use the device's native Back button to go back, it then displays the CircularProgressIndicator.

sqixin commented 5 years ago

这个问题你解决了吗?我也遇到了同样的问题,不知道如何解决

itning commented 5 years ago

这个问题你解决了吗?我也遇到了同样的问题,不知道如何解决

I changed the dependency library. flutter_inappbrowser

Example: https://github.com/itning/weather_china

peteretelej commented 5 years ago

@sqixin I also changed plugins, I'm using the Flutter team's https://pub.dartlang.org/packages/webview_flutter. However it has much less features than the rest

baoxiehao commented 5 years ago

这个问题你解决了吗?我也遇到了同样的问题,不知道如何解决

I changed the dependency library. flutter_inappbrowser

Example: https://github.com/itning/weather_china

The inappbrowser has more features, but it depends on android support packages which will compile error for compileSdkVersion 28. And also the scrolling feel is too fast, not that smooth as this plugin.