Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fixes the issue #207: “months don't always snap to their edge” #218

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

palcalde
Copy link

Looking at your implementation, this is the best results I could get without touching a lot of stuff. With this fix the months always snap to their edge.

The issue: if you place arrows in your calendar to call loadPreviousPageWithAnimation and loadNextPageWithAnimation, the bug appears when the user taps on an arrow multiple times, without letting the previous animation to finish.

I pushed two branches with modifications on your example so you can reproduce the error easily:
Checkout this one to reproduce it : https://github.com/palcalde/JTCalendar/tree/noFix
Checkout this one to see how the fix works: https://github.com/palcalde/JTCalendar/tree/withFix

Hope this helps.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant