[regression/7.0.86] On iOS grid rows that are set to star display as auto when view is added later that spans all rows and columns #15079
Labels
area-layout
StackLayout, GridLayout, ContentView, AbsoluteLayout, FlexLayout, ContentPresenter
fixed-in-7.0.92
Look for this fix in 7.0.92!
fixed-in-7.0.100
fixed-in-7.0.101
fixed-in-8.0.0-preview.3.8149
Look for this fix in 8.0.0-preview.3.8149!
i/regression
This issue described a confirmed regression on a currently supported version
platform/iOS 🍎
t/bug
Something isn't working
Milestone
Description
After updating to 7.0.86 we are seeing an issue when adding a menu overlay to page grids.
The page overlay is effectively a menu system we are converting from Xamarin Forms where we detect the view the user has long tapped on and display an opaque view on top with a menu of options the user can perform.
The page grid is a simple enough layout, an auto row 0 (a toolbar), a star row 1 (for data), and auto row 2 (quick navigation options). Within row 1 we display another grid with 5 or 6 star rows, and each of those contains a scrollview. This allows the user to scroll data within each row if there is more information to display.
When adding the page overlay to the page grid we span all its columns and rows. Worked perfectly previously, but now all the rows within the page expand and display all the data within the scrollview as if they were auto.
Steps to Reproduce
This will be a pain to create a repo, but Im happy to share video, screenshots, or even a TestFlight build to demo the issue.
I could at a push invite someone to the app repo in Azure DevOps but I will want to speak to someone first.
Link to public reproduction project repository
Nope
Version with bug
7.0 (current)
Last version that worked well
Unknown/Other
Affected platforms
iOS
Affected platform versions
iOS all
Did you find any workaround?
Previous Maui versions worked, so the latest grid fixes appear to have broken something else.
EDIT:
Adding
<MauiVersion>7.0.59</MauiVersion>
to the project and the grid behaves correctly.7.0.86 fixes a lot of other layout issues btw.
Relevant log output
No response
The text was updated successfully, but these errors were encountered: