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

Cell Transition Animation Bug #125

Open
MosheBerman opened this issue Aug 17, 2017 · 1 comment
Open

Cell Transition Animation Bug #125

MosheBerman opened this issue Aug 17, 2017 · 1 comment

Comments

@MosheBerman
Copy link
Owner

Transitioning from month to month when the months have different weeks are slightly off.

To reproduce, use the arrows to transition from December 2017 to November 2017. Observe the cell spacing during the animation. The cells should slide seamlessly into view, but there's a noticeable gap. Custom cells with transparent backgrounds might see this as overlap as well.

When the months before and after the transition have different numbers of weeks, this becomes an issue.

I think this is because we're using the contentSize of the collection view prior to transitioning as the offset for the new cells. This is probably wrong (or my understanding of how I'm doing the measurements is wrong.)

@MosheBerman
Copy link
Owner Author

The fix for this is probably in CKCalendarModel+GridViewAnimationSupport.m.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant