WebView in Maui basically kills the display

Lloyd Sheen 1,261 Reputation points

I have the following XAML:

                                    <Grid x:Name="VH" RowDefinitions="50,150,*">  
                                        <Label Grid.Row="0" Text='Game HighLights MP' FontSize="24" HorizontalTextAlignment="Center"></Label>  

                                        <ListView Grid.Row="1" ItemsSource="{Binding videos}" ItemSelected="newItem">  
                                                    <ViewCell Height="16">  
                                                        <Label Text="{Binding blurb}" FontSize="12"></Label>  

                                        <WebView Grid.Row="2" x:Name="theWebView" IsVisible="false" Margin="0,20,0,0" ></WebView>  


Now the important things is the IsVisible on the WebView. I have to set it to false or the label and ListView do not show. I have now spent another 2 hours trying to find out what is going on since this is just so screwed up it defies description.

No when I select a item from the listview (has the URL's for the videos) I can then set the IsVisible to true. Now when this happens the display goes nuts but eventually shows the list and the video.

Is this Maui??? I would tell you what happens on my phone but VS and Maui are now on a "Ready" timeout. Been 5 minutes so time to restart VS and when that doesn't work reboot. Feel like I am working for QA for MS for VS.

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,088 questions
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,167 questions
{count} votes