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

Column Behavior #244

Closed
narmertechnology opened this issue Jan 27, 2020 · 2 comments
Closed

Column Behavior #244

narmertechnology opened this issue Jan 27, 2020 · 2 comments
Labels

Comments

@narmertechnology
Copy link

We're using CalendarKit pretty heavily in our app (and loving it!), but we're seeing some inefficient behavior with the way the columns and rows are being displayed.

Please see below:

IMG_0196

When compared with the Apple Calendar below, it seems some of the rows on CalendarKit that could be extending all the way to the edge of the view are only being displayed as small columns. Is there any way to achieve some form of what we see below?

IMG_0199

@richardtop richardtop added the bug label Jan 27, 2020
@richardtop
Copy link
Owner

richardtop commented Jan 27, 2020

Hi, it's an error in the layout algorithm, already filed here: #113
While the algorithm works well for a small number non-overlapping events, it definitely has issues when the number of events grows large enough.

Please note, that even the layout algorithm Apple uses is not perfect and produces a few issues on such a complex layout:

73147026-1bd01c00-407b-11ea-9d3f-e5e058ab8226

I don't have a timeline for fixing this issue but you're free to submit a pull request with improved algorithm. This is the method responsible for the events layout, so fixing the algorithm here would improve the situation.

@richardtop
Copy link
Owner

#113

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

No branches or pull requests

2 participants