Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WebView] Fixed sizing bug when showing a website that isn't covering all screen #1515

Merged

Conversation

alirahimpour89
Copy link
Contributor

@alirahimpour89 alirahimpour89 commented Feb 14, 2023

Since you added a frame layout around the webview some websites have started get weird sizing problems.
The problem is visible on websites that isn't that tall and doesn't need scrolling. This PR fixes that issue.

I can also add that I think this can be simplified by setting match parent on the WebView and only use the height and width variables for the frame layout but don't know if the WebView would react differently then but I think that should work.

@google-cla
Copy link

google-cla bot commented Feb 14, 2023

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@bentrengrove bentrengrove merged commit 410ef02 into google:main Feb 15, 2023
@alirahimpour89 alirahimpour89 deleted the alirahimpour89/webview-sizing-fix branch February 16, 2023 08:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants