-
Notifications
You must be signed in to change notification settings - Fork 1.9k
MAUI FlexLayout in a Grid Row of Height Auto will throw exception #13004
Copy link
Copy link
Closed
Labels
area-layoutStackLayout, GridLayout, ContentView, AbsoluteLayout, FlexLayout, ContentPresenterStackLayout, GridLayout, ContentView, AbsoluteLayout, FlexLayout, ContentPresenterlayout-flexFlexLayout issuesFlexLayout issuesplatform/windowst/bugSomething isn't workingSomething isn't working
Milestone
Description
This issue has been moved from a ticket on Developer Community.
[severity:It's more difficult to complete my work]
MainPage.xaml
<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="MauiApp1.MainPage">
<Grid RowDefinitions="Auto">
<FlexLayout Wrap="Wrap">
<Label Text="扩展D"/>
</FlexLayout>
</Grid>
</ContentPage>MainPage.xaml.cs
namespace MauiApp1;
public partial class MainPage : ContentPage
{
public MainPage()
{
InitializeComponent();
}
}Create a MAUI App project, set the MainPage XAML and C# code as above, and Debug on Windows Machine. It will cause a debug break:
Original Comments
Feedback Bot on 1/17/2023, 06:29 PM:
(private comment, text removed)
Original Solutions
(no solutions)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area-layoutStackLayout, GridLayout, ContentView, AbsoluteLayout, FlexLayout, ContentPresenterStackLayout, GridLayout, ContentView, AbsoluteLayout, FlexLayout, ContentPresenterlayout-flexFlexLayout issuesFlexLayout issuesplatform/windowst/bugSomething isn't workingSomething isn't working
Type
Fields
Give feedbackNo fields configured for issues without a type.
