fluttercommunity / fluttercommunity/flutter_webview_plugin

Weird 1 Pixel offset of the WebView over the initialChild

Open
#765 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 such a problem you can see on the right of the screenshot - the initialChild which is just red colored Container can bee seen there.

I'm using Flutter 1.19.0-0.0pre.

Reproduction code
```dart
WebviewScaffold(
url: 'https://twitch.com',
initialChild: Container(
color: Colors.red,
),
)
```

![image](https://user-images.githubusercontent.com/39104740/84040475-5c399200-a9ab-11ea-93c2-b6f5379f15e3.png)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the 1-pixel offset with WebviewScaffold, the supplied Twitch URL, and the red initialChild on the reported Flutter version. Trace how WebviewScaffold lays out the initialChild and WebView; done means the red initialChild is no longer visible beside the WebView.

Written by the indexing model from the issue text.

Assessment

Tech stack
flutter
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.