Microsoft.Maui.Graphics
Microsoft.Maui.Graphics copied to clipboard
IDrawable Draw does not fire without height and width assigned to GraphicsView
Hello,
The Draw method is not be called unless HeightRequest & WidthRequest are assigned to the GraphicsView.
Replication Procedure: Toggle removing HeightRequest & WidthRequest attributes in a new .NET Maui app in a WIndows Machine and observe Draw is only called with these lengths assigned.
<GraphicsView WidthRequest="400" HeightRequest="300" Drawable="{StaticResource Drawable}"/>
Visual Studio 2022 for Windows (17.1 Preview 2)