fluttercommunity / fluttercommunity/flutter_webview_plugin

WebView flashes when altering page using Javascript

Abierto
#357 0 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Java
Estrellas
1.5k
Forks
938
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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?

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Línea de trabajo

Start with the reported sequence of handlePreferences, evalJavascript(pageCleaner), and _fwp.show(), then trace how the WebView is displayed during page loading and JavaScript evaluation. Determine why the uncleaned page becomes visible first; done means the WebView no longer flashes the bloated page before cleanup is applied.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
dart, flutter, javascript
Área
mobile
Tipo de issue
Error
Dificultad
4/5
Tiempo estimado
3-5 días
Estado de actividad
Estancado
Claridad
Bastante claro
Aptitud para principiantes
35/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.