fluttercommunity / fluttercommunity/flutter_webview_plugin

WebView flashes when altering page using Javascript

Open
#357 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
1.5k
Forks
938
PR merge metrics
No merged PRs in 30d

Description

I have the following code that removes some bloat from my reading app.

```
await handlePreferences().then((s) async {
await _fwp.evalJavascript(pageCleaner).then((s) async {
await _fwp.show();
});
});
```

However, the webview flashes when it's shown, and you can see the bloated page for a second before being replaced. Is there a way to fix this?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.