dotnet / maui

.NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
https://dot.net/maui
MIT License
22.21k stars 1.74k forks source link

Image Button in a nested flex layout not rendering #24653

Open AlthalusDGr8 opened 1 month ago

AlthalusDGr8 commented 1 month ago

Description

Trying to add an image button in a nest flex layout ends up not rendering anything. Image sources confirmed to exist. Another element (such as label) gets rendered correctly

Steps to Reproduce

<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" x:Class="RockPaperScissors.LayoutTests" Title="LayoutTests">

Link to public reproduction project repository

No response

Version with bug

8.0.82 SR8.2

Is this a regression from previous behavior?

Not sure, did not test other versions

Last version that worked well

Unknown/Other

Affected platforms

Android, Windows

Affected platform versions

No response

Did you find any workaround?

Rendering the same content inside nested VerticalStackLayout and HorizontalStackLayout works well

Relevant log output

N/A
github-actions[bot] commented 1 month ago

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!

Open similar issues:

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

jfversluis commented 1 month ago

Seems related to #20461 not sure if its 100% a duplicate so leaving this open for now