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

Fix restore collection view layout on rotations #1340

Closed
wants to merge 2 commits into from

Conversation

ERussel
Copy link
Collaborator

@ERussel ERussel commented Jan 16, 2025

Purpose

It seems that there is a bug in iOS that prevents UICollectionView to update cell frame on device rotation in some cases like ours with custom presentation. The PR adds a workaround to address the issue by forcing update of the layout when transition animation ends.

@ERussel ERussel requested a review from svojsu January 16, 2025 22:38
@ERussel
Copy link
Collaborator Author

ERussel commented Jan 21, 2025

Implemented in PR

@ERussel ERussel closed this Jan 21, 2025
@ERussel ERussel deleted the fix/device-rotation branch January 21, 2025 10:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant