easy_web_view icon indicating copy to clipboard operation
easy_web_view copied to clipboard

Background color issue

Open diegothucao opened this issue 5 years ago • 5 comments

Hi mate, I am using easy web view lib. I face an issue is I set the theme background as dark gray but when i open the Webview, it first show white color and until the web is loaded then it changes to default background color? Could you support how to fix it ?

diegothucao avatar Feb 05 '20 04:02 diegothucao

Issue on what platform?

rodydavis avatar Feb 05 '20 04:02 rodydavis

Both IOS and Android, let me send you an image

when loading Screenshot_1580882442 I think it should be transparent like it show the background color of scaffold or parent container.

When loading is done, it show the background of web as normal. Screenshot_1580882477

In IOS, it is same and there is another one issue like this when we pull down.

Screen Shot 2020-02-05 at 1 02 35 PM Do you see black area at top, it does not same color with the background of scaffold

.

diegothucao avatar Feb 05 '20 06:02 diegothucao

Hmm 🤔 this is just the web view under the hood. Are background properties exposed with flutter_webview?

rodydavis avatar Feb 05 '20 07:02 rodydavis

Im still looking into see how to fix this. Have you come up with a solution on your own? I am open to PRs

rodydavis avatar Mar 09 '20 04:03 rodydavis

Hi @diegothucao ,

Can you help me to set theme background for my webview. If you guide me with a flutter code clue, that would be a great help.

RaghuMudem avatar Jun 09 '20 13:06 RaghuMudem

Fixed on 2.0.1!

rodydavis avatar Jun 24 '24 20:06 rodydavis