-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
iOS: CollectionView items don't change their size when item content size is changed #15177
Comments
I changed the Rowdefinitions of the Root Grid to "Auto", but the Grid doesn't change its size, the inner Label gets correct the SizeChanged event. This looks like the same problem handled in #7297. |
I am facing the same issue. I tested a collectionview, where the IsVisible-attribute of some elements can be changed on a button press. Inside the collectionview is a grid, where some labels become visible/not visible. The labels push other content down on Android, as I intended. However, on iOS, it doesn't. There is no MaximumHeightRequest set, or something like that. |
The project Maui.Controls.Sample in the Maui source solution contains a CollectionView sample named Expanding Text (Vertical List) with the same problem. |
Verified this on Visual Studio Enterprise 17.8.0 Preview 2.0(8.0.0-rc.1). The original issue seems still repro on Windows 11 and iOS 16.4, not repro on Android 13.0-API33 with below Project: |
It's been over half a year since this bug was initially reported. This can also be easily reproduced when using an expander in the ItemTemplate. |
I'm having the same issue ... Some people saying this is the native behaviors, but again, Xamarin Forms was working normally fine and MAUI break this, how can we suppose to migrate from Xamarin Forms to MAUI when we have a tons of CollectionView that we need to migrate and this isn't working normally ?! |
The problem still exists for almost a year now. such things should be implemented out of the box, I already regret that I didn’t start using flutter for commercial development, it’s a complete disappointment. |
Description
I'm facing the same issue like handled in issue #3643 which is now closed but the problem still exists. The attached sample in 3643 does not work, the collection view cell don't increases his height.
Steps to Reproduce
use the attached sample in issue #3643
Link to public reproduction project repository
#3643
Version with bug
7.0.86
Last version that worked well
Unknown/Other
Affected platforms
iOS, I was not able test on other platforms
Affected platform versions
iOS 16.4
Did you find any workaround?
No response
Relevant log output
No response
The text was updated successfully, but these errors were encountered: