-
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
HasUnevenRows=True and Image in ItemTemplate causes InvalidOperationException #7964
Comments
I can confirm I am having the same issues. It's worth noting however that it's not isolated to images. I've had a listview containing nothing but labels encounter this issue. I believe it occurs for all uneven rows, but I may be wrong there. Disabling HasUnevenRows fixes the issue. |
confirm this on IOS as describe above. |
Can confirm I have the same issue with builds for Mac, iPhone and Android. The following works as expected:
The following causes a crash:
Crash log:
If I remove the image from the stack, it works just fine as well |
Just in case anyone else is stumbling across this error with ListView+HasUnevenRows+iOS: using the CollectionView is a better way to go. |
We've moved this issue to the Backlog milestone. This means that it is not going to be worked on for the coming release. We will reassess the backlog following the current release and consider this item at that time. To learn more about our issue management process and to have better expectation regarding different types of issues you can read our Triage Process. |
Hi @ThuCommix. We have added the "s/needs-info" label to this issue, which indicates that we have an open question for you before we can take further action. 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. |
Hi @jsuarezruiz, I've checked again on it and it works on the latest workload. Thanks. |
Description
If I enable HasUnevenRows, and my ItemTemplate contains an Image the app crashes with a invalid operation exception.
Minimal repro:
MauiApp1.zip
If you disable HasUnevenRows the ListView works again.
Steps to Reproduce
Version with bug
6.0 (current)
Last version that worked well
Unknown/Other
Affected platforms
iOS
Affected platform versions
iOS 15
Did you find any workaround?
Relevant log output
The text was updated successfully, but these errors were encountered: