fluttercommunity / fluttercommunity/flutter_webview_plugin
Calling dispose() and close() within onUrlChanged does not pop the WebviewScaffold
- Dominant language
- Java
- Stars
- 1.5k
- Forks
- 938
- PR merge metrics
- No merged PRs in 30d
Description
When trying to pop the WebviewScaffold by calling `FlutterWebViewPlugin.dispose()` and `FlutterWebViewPlugin.close()` after having been redirected, instead of popping the Route, the `_WebviewPlaceholder` only switches to the `child` Widget (`initalChild` or `CircularProgressIndicator`), rather than returning to the previous Route.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by tracing WebviewScaffold and its _WebviewPlaceholder around onUrlChanged, then follow how FlutterWebViewPlugin.dispose() and close() handle a redirected route. Reproduce the redirect case and verify that disposing or closing pops the WebviewScaffold to the previous Route instead of showing the child Widget.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- dart, java
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100