[Windows] Issues with BoxView Placement Inside Border #19668
Labels
area-controls-border
Border
area-layout
StackLayout, GridLayout, ContentView, AbsoluteLayout, FlexLayout, ContentPresenter
layout-stack
platform/windows 🪟
potential-regression
This issue described a possible regression on a currently supported version., verification pending
s/triaged
Issue has been reviewed
s/verified
Verified / Reproducible Issue ready for Engineering Triage
t/bug
Something isn't working
Milestone
Description
In a .NET 8 Windows environment, there is an issue where placing a BoxView inside a Border results in incorrect sizing. When BoxView and Border are placed separately, there are no significant issues. However, when a BoxView is nested within a Border, both the Border and BoxView are rendered at incorrect sizes.
This problem has not been observed in Android and iOS environments. It appears to be an issue exclusive to the Windows .NET 8 platform.
MainPage.xaml
MainPage.xaml.cs
Result
Steps to Reproduce
Link to public reproduction project repository
No response
Version with bug
8.0.3
Is this a regression from previous behavior?
Yes, this used to work in .NET MAUI
Last version that worked well
7.0.101
Affected platforms
Windows
Affected platform versions
windows10.0.19041.0
Did you find any workaround?
No response
Relevant log output
No response
The text was updated successfully, but these errors were encountered: