CalendarKit
CalendarKit copied to clipboard
When calling DayViewState.move(to:) calendar sometimes skips a week
What the title says. It sometimes works as expected, others it would scroll briefly to the desired date, and then fast forward one week. I'm just calling dayView.state?.move(to: someDate).
The same issue :(
the same issue
@hevatix, @sinkync I am aware of this issue and will fix it as soon as possible. If you'd like to debug and fix it manually, you may look for false positive Control Loops (by setting breakpoints on the interface methods between multiple modules).
@richardtop I had already run debug and I think the bug is when TimeLinePagerView Scrollview is trigger when change the date with "moveTo!" I´m not sure how it works but I just comment the line 147 at TimelinPagerView and it works "moveTo" but the pager scroll to change the date doesn't work anymore
@hevatix Thanks for reporting it. Seems, that you've broken one of the control loops. The idea, that all the state changes should go through DayViewState and there should be no loops - the state should act as a "dispatcher" and pass new state information to the other modules.
Should be fixed in #145
Still same issues
Same here :( Can you reopen this one?
@richardtop I would love to help fix this issue, now that I am more proficient with Swift. Can you point me in the direction of what I have to look for?
@eoy4 in progress in https://github.com/richardtop/CalendarKit/tree/ck-1
@richardtop this stopped happening to me in latest release. YAY! If others confirm, I think this is fixed.