dotnet / maui

.NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
https://dot.net/maui
MIT License
22.04k stars 1.73k forks source link

Endless measure cycle on Android when WebView is placed inside Frame #20550

Open rafalka opened 7 months ago

rafalka commented 7 months ago

Description

This simple construction:

    <VerticalStackLayout>
    <Frame>
        <WebView/>
    </Frame>
    </VerticalStackLayout>

causes endless measure cycle on Android. On iOS/macOS this works fine (not tested on Windows)

Steps to Reproduce

  1. Create a MAUI app
  2. Place XAML from description as a content of a page.
  3. Run app on Android

Link to public reproduction project repository

No response

Version with bug

8.0.3

Is this a regression from previous behavior?

Yes, this used to work in Xamarin.Forms

Last version that worked well

Unknown/Other

Affected platforms

Android

Affected platform versions

Android (all versions)

Did you find any workaround?

No

Relevant log output

No response

XamlTest commented 6 months ago

Verified this on VS 17.10.0 Preview 2.0(8.0.7). Repro on Android 14.0-API34, not repro on Windows 11, iOS 17.2 and MacCatalyst with below Project: MauiApp3.zip