Skip to content
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 does not handle content being manipulated. #16210

Closed
eengstroem opened this issue Jul 18, 2023 · 3 comments
Closed

[iOS] CollectionView does not handle content being manipulated. #16210

eengstroem opened this issue Jul 18, 2023 · 3 comments
Labels
area-controls-collectionview CollectionView, CarouselView, IndicatorView platform/iOS 🍎 t/bug Something isn't working

Comments

@eengstroem
Copy link

Description

With a CollectionView, the view does not resize or handle size when elements are manipulated.
This only happens on iOS. On Android, the view resizes properly. The difference in the two platforms is leading me to believe that this is a bug.

In the following screenshots, I run the reproduction sample.
Here, on Android:

View, not expanded
View, expanded

Here, on iOS:
ios, expanded
ios, expanded

On Android, the element(s) that become visible seem to push the other elements down, which is what I'd expect. On iOS, they sort of overlap. Is there are workaround?

Steps to Reproduce

  1. With a MAUI project.
  2. Create a CollectionView, and populate it with some data.
  3. Set some of the data to be something like a label.
  4. When clicking a part of the collectionview, set the label to change visibility.
  5. See that content is not being displayed correctly.

Link to public reproduction project repository

https://github.com/eengstroem/MauiAccordion

Version with bug

7.0.49

Last version that worked well

Unknown/Other

Affected platforms

iOS

Affected platform versions

iOS 16.2

Did you find any workaround?

No. It works as expected on Android.

Relevant log output

No response

@eengstroem eengstroem added the t/bug Something isn't working label Jul 18, 2023
@drasticactions
Copy link
Contributor

I believe this is a duplicate of #13451

@drasticactions
Copy link
Contributor

Closing as a dupe of #13451, checking the repro source and comparing it to my issue, I think it's the same root cause of both.

@drasticactions drasticactions closed this as not planned Won't fix, can't repro, duplicate, stale Jul 20, 2023
@samhouts
Copy link
Member

Duplicate of #13451

@samhouts samhouts marked this as a duplicate of #13451 Jul 25, 2023
@ghost ghost locked as resolved and limited conversation to collaborators Aug 24, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-controls-collectionview CollectionView, CarouselView, IndicatorView platform/iOS 🍎 t/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants