Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nested FlexLayout not working #26013

Open
mikeysouthwell opened this issue Nov 21, 2024 · 2 comments · May be fixed by #25036
Open

Nested FlexLayout not working #26013

mikeysouthwell opened this issue Nov 21, 2024 · 2 comments · May be fixed by #25036
Labels
area-layout StackLayout, GridLayout, ContentView, AbsoluteLayout, FlexLayout, ContentPresenter layout-flex FlexLayout issues platform/android 🤖 s/triaged Issue has been reviewed s/verified Verified / Reproducible Issue ready for Engineering Triage t/bug Something isn't working
Milestone

Comments

@mikeysouthwell
Copy link

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
@mikeysouthwell mikeysouthwell added the t/bug Something isn't working label Nov 21, 2024
Copy link

We've found some similar issues:

If any of the above are duplicates, please consider closing this issue out and adding additional context in the original issue.

Note: You can give me feedback by 👍 or 👎 this comment.

@Zhanglirong-Winnie Zhanglirong-Winnie added s/verified Verified / Reproducible Issue ready for Engineering Triage s/triaged Issue has been reviewed platform/android 🤖 labels Nov 21, 2024
@Zhanglirong-Winnie
Copy link

This issue has been verified using Visual Studio 17.13 Preview 1(9.0.10 & 8.0.100). Can repro this issue on Android platform.

@PureWeen PureWeen added this to the Backlog milestone Nov 21, 2024
@PureWeen PureWeen added area-layout StackLayout, GridLayout, ContentView, AbsoluteLayout, FlexLayout, ContentPresenter layout-flex FlexLayout issues labels Nov 21, 2024
@kubaflo kubaflo linked a pull request Nov 21, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-layout StackLayout, GridLayout, ContentView, AbsoluteLayout, FlexLayout, ContentPresenter layout-flex FlexLayout issues platform/android 🤖 s/triaged Issue has been reviewed s/verified Verified / Reproducible Issue ready for Engineering Triage t/bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants