[iOS] Changing IsGrouped on runtime with CollectionViewHandler2 does not properly work - fix#31100
Merged
PureWeen merged 2 commits intodotnet:inflight/currentfrom Aug 14, 2025
Merged
Conversation
Added a call to handler.UpdateLayout() in the MapIsGrouped method to ensure the layout is refreshed when the grouping state changes in CollectionViewHandler2 for iOS.
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR fixes an issue where changing the IsGrouped property at runtime in iOS CollectionView using CollectionViewHandler2 does not properly refresh the layout. The fix ensures that when the grouping state changes, the collection view layout is updated to reflect the new structure.
Key Changes
- Added a call to
handler.UpdateLayout()in theMapIsGroupedmethod to trigger layout refresh when grouping state changes
Contributor
|
Hey there @@kubaflo! Thank you so much for your PR! Someone from the team will get assigned to your PR shortly and we'll get it reviewed. |
rmarinho
approved these changes
Aug 11, 2025
Member
|
/azp run |
|
Azure Pipelines successfully started running 3 pipeline(s). |
github-actions bot
pushed a commit
that referenced
this pull request
Aug 15, 2025
…not properly work - fix (#31100) * Call UpdateLayout in MapIsGrouped on iOS Added a call to handler.UpdateLayout() in the MapIsGrouped method to ensure the layout is refreshed when the grouping state changes in CollectionViewHandler2 for iOS. * Added a UITest
github-actions bot
pushed a commit
that referenced
this pull request
Aug 15, 2025
…not properly work - fix (#31100) * Call UpdateLayout in MapIsGrouped on iOS Added a call to handler.UpdateLayout() in the MapIsGrouped method to ensure the layout is refreshed when the grouping state changes in CollectionViewHandler2 for iOS. * Added a UITest
github-actions bot
pushed a commit
that referenced
this pull request
Aug 19, 2025
…not properly work - fix (#31100) * Call UpdateLayout in MapIsGrouped on iOS Added a call to handler.UpdateLayout() in the MapIsGrouped method to ensure the layout is refreshed when the grouping state changes in CollectionViewHandler2 for iOS. * Added a UITest
github-actions bot
pushed a commit
that referenced
this pull request
Aug 22, 2025
…not properly work - fix (#31100) * Call UpdateLayout in MapIsGrouped on iOS Added a call to handler.UpdateLayout() in the MapIsGrouped method to ensure the layout is refreshed when the grouping state changes in CollectionViewHandler2 for iOS. * Added a UITest
This was referenced Sep 10, 2025
This was referenced Sep 10, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Added a call to handler.UpdateLayout() in the MapIsGrouped method to ensure the layout is refreshed when the grouping state changes in CollectionViewHandler2 for iOS.
Note
Are you waiting for the changes in this PR to be merged?
It would be very helpful if you could test the resulting artifacts from this PR and let us know in a comment if this change resolves your issue. Thank you!
Issues Fixed
Fixes #31096