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

Calendar scrolls up but never down #65

Closed
FranciscoBaiao opened this issue May 4, 2020 · 4 comments
Closed

Calendar scrolls up but never down #65

FranciscoBaiao opened this issue May 4, 2020 · 4 comments

Comments

@FranciscoBaiao
Copy link

When moving an event, the calendar scrolls up but not down.

@kvyatkovskys
Copy link
Owner

kvyatkovskys commented May 4, 2020

You can disable thistimeline.scrollToCurrentHour = false

@FranciscoBaiao
Copy link
Author

No, that's not the issue... the issue is when your are changing an event hour by moving it ... if you go close the top of calendar it will scroll, but if you get the event close bottom of calendar doesn't scroll down.

@FranciscoBaiao
Copy link
Author

I've been doing some tests... you can try making
"else if (point.y + scrollView.bounds.height/5) > (scrollView.contentOffset.y + scrollView.bounds.height), (point.y + eventPreviewSize.height) <= scrollView.contentSize.height "
for the scroll down condition

@kvyatkovskys
Copy link
Owner

Can you create a PR?) I’ll check.

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

No branches or pull requests

2 participants