Duplicate week data when using JTACMonthView as a single-line horizontal calendar for current week
Hey, I’m using JTACMonthView to implement a horizontal single-line week calendar (showing only one week at a time, scrolling horizontally between weeks). The calendar is configured to display only the current week (7 days), but I’m encountering a duplicate data issue:
The week containing the current date appears to be loaded twice in the data source, causing duplicate cells or unexpected scrolling behavior.
This happens specifically when scrollDirection = .horizontal and visibleDates are limited to one week.
Expected Behavior: When scrolling week by week horizontally, each week should appear only once, and the current week should not be duplicated.
Here’s is my demo code:
Here's is record demo video:
https://github.com/user-attachments/assets/c1be9217-02ae-4616-b074-344f3d7b0209
@patchthecode can you help me?
Current JTAppleCalendar version is 8.0.5.
hmm. i'll check it out over the weekend.