-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
[Bug] Android 4th row of Grid not rendering #1950
Comments
The markup is weird because of the skipped row, but it should still be rendering the StackLayout inside the last ScrollView. The ScrollView is showing up (it's the green). |
It's not a GridLayout issue - I can get a similar failure by doing this:
So I'm guessing it's more of a ScrollView issue. |
I can get the buttons to appear correctly if I use the correct coordinates for the nested scrollview:
However, this does not fully fix the issue as the child view is not actually getting to the correct size and the width is the width of the scrollview. If I set a WidthRequest to some big number then scrolling works. |
* Clamp Grid coordinates for child views (#1947) * Clamp Grid coordinates * Use correct values * bad coments * Add span tests * Add VisualDiagnostics calls to new Layout base (#1948) * Lay out the nested scroll view correctly (#1952) Might fix #1950 * Add VisualDiagnostics calls to new Layout base (#1948) (#1954) Co-authored-by: E.Z. Hart <hartez@users.noreply.github.com> Co-authored-by: Matthew Leibowitz <mattleibow@live.com> Co-authored-by: E.Z. Hart <hartez@users.noreply.github.com>
Steps to Reproduce
Using the following XAML taken from here (this renderers fine on XF)
https://github.com/rachelkang/recipeSearch/blob/maui/WhatToEat/Views/StartingPage.xaml#L30
You'll notice that the 4th row doesn't render any content. I also tried removing the ScrollView but the result is the same
Expected Behavior
Their should be two rows of buttons
Actual Behavior
There is only one row of buttons
The text was updated successfully, but these errors were encountered: