richardtop / CalendarKit

📅 Calendar for Apple platforms in Swift
https://www.youtube.com/watch?v=cJ63-_z1qg8
MIT License
2.48k stars 333 forks source link

Horizontal scrolling for the timeline #362

Closed Gerodot closed 11 months ago

Gerodot commented 12 months ago

New Issue Checklist

Issue Description

Hello. In DayViewController at one and the same time can be a large number of events (can be about 100) how to make that when reaching a certain number of events appeared horizontal scrolling for the timeline? IMG_CC18D45BD04D-1 IMG_9D746AB12B60-1
richardtop commented 12 months ago

Hi, currently horizontal scrolling is not possible to configure "out of the box", as it would interfere with the scrolling between the days. Feel free to take a look at these issues: https://github.com/richardtop/CalendarKit/issues/113 - I think, yours can be marked as a duplicate to this.

https://github.com/richardtop/CalendarKit/issues/357#issuecomment-1558515182 - here a workaround is listed on how to modify the layout algorithm.