Skip to content

Nested FlexLayout not working #26013

@mikeysouthwell

Description

@mikeysouthwell

Description

Why does the content inside a child FlexLayout not display anything in MAUI?

<FlexLayout
<!-- Grandparent FlexLayout arranges children vertically -->
    Direction="Column"
    AlignItems="Start"
    BackgroundColor="Blue">

    <FlexLayout
	<!-- Parent FlexLayout arranges its children vertically -->
        Direction="Column"
        AlignItems="Start"
        BackgroundColor="Yellow">

        <FlexLayout
		<!-- Child FlexLayout arranges its children horizontally -->
            Direction="Row"
            AlignItems="Start"
            BackgroundColor="Grey">

            <Label Text="Grandchild Item 1" 
                   TextColor="Black" 
                   FontSize="18"/>

            <Label Text="Grandchild Item 2" 
                   TextColor="Black" 
                   FontSize="18"/>

        </FlexLayout>

    </FlexLayout>

</FlexLayout>


### Steps to Reproduce

_No response_

### Link to public reproduction project repository

_No response_

### Version with bug

9.0.10 SR1

### Is this a regression from previous behavior?

Not sure, did not test other versions

### Last version that worked well

Unknown/Other

### Affected platforms

Android

### Affected platform versions

_No response_

### Did you find any workaround?

_No response_

### Relevant log output

```shell

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-layoutStackLayout, GridLayout, ContentView, AbsoluteLayout, FlexLayout, ContentPresenterlayout-flexFlexLayout issuespartner/syncfusionIssues / PR's with Syncfusion collaborationplatform/androids/triagedIssue has been revieweds/verifiedVerified / Reproducible Issue ready for Engineering Triaget/bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions