-
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
Nested CollectionViews aren't rendered correctly in iOS and MacCatalyst #16966
Comments
Could possibly be same issue as #9135. |
There's a backport for that issue #15652. It's merged, but not in a shipping product yet. It should be in the newest net8.0 preview right now though. You can try it there and see if it's working there. If it is, then it should work in net7.0 whenever the service release ships. |
Can you try on net8 to see if it works? |
Hi @dmanning23. We have added the "s/try-latest-version" label to this issue, which indicates that we'd like you to try and reproduce this issue on the latest available public version. This can happen because we think that this issue was fixed in a version that has just been released, or the information provided by you indicates that you might be working with an older version. You can install the latest version by installing the latest Visual Studio (Preview) with the .NET MAUI workload installed. If the issue still persists, please let us know with any additional details and ideally a reproduction project provided through a GitHub repository. This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time. |
I've installed Visual Studio Preview and the latest .Net 8 Preview, yet when I try to run the project under .Net8 I run into a bunch of error messages and general Visual Studio weirdness. It should be as simple as going to the project properties -> Target Platforms, and changing the Target .Net Runtime to .Net 8.0? |
Hi @dmanning23. We have added the "s/try-latest-version" label to this issue, which indicates that we'd like you to try and reproduce this issue on the latest available public version. This can happen because we think that this issue was fixed in a version that has just been released, or the information provided by you indicates that you might be working with an older version. You can install the latest version by installing the latest Visual Studio (Preview) with the .NET MAUI workload installed. If the issue still persists, please let us know with any additional details and ideally a reproduction project provided through a GitHub repository. This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time. |
Verified this on Visual Studio Enterprise 17.8.0 Preview 1.0. Repro on iOS 16.4 .NET 7, but not repro on iOS .NET 8, and not repro on Windows 11 and Android 13.0-API33 with below Project: |
Description
When CollectionViews are nested to build complex controls, the resulting lists are not rendered correctly on iOS and Mac Catalyst. (see screenshots)
The height of each item appears to expand to fill the maximum height allowed.
The results are as expected on Android. (see screenshot)
Expected results:
Android:
Actual Results:
iOS:
MacCatalyst:
Steps to Reproduce
This is a somewhat complicated bug to reproduce, so I've repurposed the CollectionViewDemos from the maui-samples repository to show the bug.
Link to public reproduction project repository
https://github.com/dmanning23/CollectionViewBugExample
Version with bug
7.0.92
Is this a regression from previous behavior?
No, this is something new
Last version that worked well
Unknown/Other
Affected platforms
iOS, macOS
Affected platform versions
iOS 16.4, MacCatalyst
Did you find any workaround?
I have not found a workaround for this issue.
Relevant log output
No response
The text was updated successfully, but these errors were encountered: