When the Border control is in RelativeLayout, RelativeLayout is not work correctly from 8.0.60 SR6 #23934
Labels
area-layout
StackLayout, GridLayout, ContentView, AbsoluteLayout, FlexLayout, ContentPresenter
i/regression
This issue described a confirmed regression on a currently supported version
p/1
Work that is important, and has been scheduled for release in this or an upcoming sprint
platform/android 🤖
platform/iOS 🍎
platform/macOS 🍏
macOS / Mac Catalyst
platform/windows 🪟
s/triaged
Issue has been reviewed
s/verified
Verified / Reproducible Issue ready for Engineering Triage
t/bug
Something isn't working
Milestone
Description
This happening on any platform but the behaivor is different.
On iOS/Mac, it causes the border control fill the screen.
On Android/Windows the content does not appear.
Any platform works correctly at 8.0.40 SR5.
Steps to Reproduce
Clone the repository, build & run. If you dont' want to clone, you can follow by below step.
builder.UseMauiCompatibility()
to App.xaml.cs for using RelativeLayoutMainPage = new MainPage();
on App.xaml.cs if you want.Link to public reproduction project repository
https://github.com/cotrasys/RelativeLayoutIssue
Version with bug
8.0.60 SR6
Is this a regression from previous behavior?
Yes, this used to work in .NET MAUI
Last version that worked well
8.0.40 SR5
Affected platforms
iOS, Android, Windows, macOS
Affected platform versions
No response
Did you find any workaround?
Use Frame control instead of Border
Relevant log output
No response
The text was updated successfully, but these errors were encountered: