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] Fixes carouselview layout on iOS #20001

Merged
merged 8 commits into from
Feb 9, 2024

Conversation

NielsKnaap
Copy link
Contributor

@NielsKnaap NielsKnaap commented Jan 19, 2024

Description of Change

After this fix #14951 (#15652) to make to collectionview get the size of its contents instead of filling the whole screen, the size of the carouselview was impacted aswell. This introduced some layout bugs with the carouselview on iOS.

This PR will make sure the carouselview will use the default implementation of the GetDesiredSize() method.

Issues Fixed

Before

  • Example issue 18223:
Screen.Recording.2024-01-19.at.11.28.56.mov
  • Example issue 19657:
Screen.Recording.2024-01-19.at.11.38.13.mov

After

  • Example issue 18223:
Screen.Recording.2024-01-19.at.11.26.59.mov
  • Example issue 19657:
Screen.Recording.2024-01-19.at.11.39.04.mov

@NielsKnaap NielsKnaap requested a review from a team as a code owner January 19, 2024 11:09
@ghost ghost added the community ✨ Community Contribution label Jan 19, 2024
@ghost
Copy link

ghost commented Jan 19, 2024

Hey there @NielsKnaap! Thank you so much for your PR! Someone from the team will get assigned to your PR shortly and we'll get it reviewed.

@NielsKnaap
Copy link
Contributor Author

@dotnet-policy-service agree

@Eilon Eilon added the area-controls-collectionview CollectionView, CarouselView, IndicatorView label Jan 20, 2024
@rmarinho
Copy link
Member

/azp run

Copy link

Azure Pipelines successfully started running 3 pipeline(s).

@NielsKnaap
Copy link
Contributor Author

hi @rmarinho, why are some of the pipelines failing? Can I do something about it?

@NielsKnaap NielsKnaap changed the title Fixes carouselview layout on iOS [iOS] Fixes carouselview layout on iOS Jan 29, 2024
@NielsKnaap
Copy link
Contributor Author

@rmarinho @mattleibow, Is there anything to be done for this PR?

@rmarinho
Copy link
Member

rmarinho commented Feb 6, 2024

/azp run MAUI-UITests-public

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@rmarinho
Copy link
Member

rmarinho commented Feb 7, 2024

/azp run

Copy link

Azure Pipelines successfully started running 3 pipeline(s).

@rmarinho rmarinho added this to the .NET 8 SR3 milestone Feb 7, 2024
@rmarinho rmarinho self-assigned this Feb 7, 2024
@mattleibow mattleibow merged commit 00ff9f7 into dotnet:main Feb 9, 2024
44 of 47 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

CarouselView - Content disappears when 'Loop' is false and inside ScrollView CarouselView layout bugs in iOS
6 participants