Skip to content

[Android] HybridWebView briefly resizes to full screen when page is opened before snapping back to correct size #31475

@malsabi

Description

@malsabi

Description

On Android, when navigating to a page that contains a WebView which is supposed to occupy part of the screen (for example, 50% height within a layout), the WebView initially resizes to take up the entire screen. After a moment, it snaps back down to the correct bounds.

This happens only on initial load/initialization of the WebView. Once it has been created and sized, navigation back and forth works correctly. The issue is not reproducible on iOS or Windows, only Android.

Please note: The HybridWebView gets more flicker and heavier when the page contains complex xaml, similar to my production app.

Untitled.video.-.Made.with.Clipchamp.mp4

Steps to Reproduce

No response

Link to public reproduction project repository

https://github.com/malsabi/HybridWebViewIssue

Version with bug

9.0.100 SR10

Is this a regression from previous behavior?

No, this is something new

Last version that worked well

Unknown/Other

Affected platforms

Android

Affected platform versions

No response

Did you find any workaround?

No workaround

Relevant log output

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions