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

[Android] Border doesnt expand on Content size changed #22606

Closed
Pastajello opened this issue May 23, 2024 · 1 comment · Fixed by #22626
Closed

[Android] Border doesnt expand on Content size changed #22606

Pastajello opened this issue May 23, 2024 · 1 comment · Fixed by #22626
Assignees
Milestone

Comments

@Pastajello
Copy link

Pastajello commented May 23, 2024

Description

Hello,

I'm using nightly build to get the ltest fixes for MAUI. Recently I've found out that Border, that was once working, is now broken on Android.
If We have a border, content and the content changes size, like showing or hiding content the border doesnt expand with the content:

Screen.Recording.2024-05-23.at.15.40.03.mov

The issue started on build
https://dev.azure.com/xamarin/public/_artifacts/feed/maui-nightly/NuGet/Microsoft.Maui.Controls/overview/8.0.60-ci.net8.24266.1 with most probably this:
#22347

Used to work on 8.0.60-ci.net8.10665+azdo.9579251

Steps to Reproduce

  1. Create new MAUI project
  2. Add Border with some Content(a Grid for example)
  3. Add a way to change the Content size (change HeightRequest of Grid)
  4. Change content size, check that border stroke, abckground has not increased in size BUT content size increased so now conent goes outside border.

Link to public reproduction project repository

https://github.com/Pastajello/BorderChangeContentSizeIssue

Version with bug

Nightly / CI build (Please specify exact version)

Is this a regression from previous behavior?

Yes, this used to work in .NET MAUI

Last version that worked well

8.0.60-ci.net8.10665+azdo.9579251

Affected platforms

Android

Affected platform versions

No response

Did you find any workaround?

Yes, switch back to Frame.

Relevant log output

No response

@Pastajello Pastajello added the t/bug Something isn't working label May 23, 2024
Copy link
Contributor

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

4 participants