-
Notifications
You must be signed in to change notification settings - Fork 812
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
CalendarView shows multiple/glitched selections with single row view, starting on wrong day of week #196
Comments
OK. your for your issues.
Since you have an external header (and not an internal one), this setting will ensure that the dates are offset correctly. The Let me know if this works for you. I am looking into your 2nd issue now. |
Another thing to note for issue#1, you said that it auto-corrected it self on selection. Ok there is a bug here. The bug happens on single-row calendar. I have now created a new issue here to track this -->> #197 |
Good to go regarding issue#1 👍 issue#2 still occurring. Were you able to replicate this? |
@Croge32 i'll get it it in a bit. I'm currently working on issue#1. but i'm pretty sure that the 2nd issue is nothing serious. I'll look at it in a sec. |
@Croge32 hey I think I have fixed the first issue. put this in your pod file (to test the masterBranch). And run
|
I'll get that tested for you tomorrow! |
I have now replicated the 2nd issue. Looking into it now. |
I have now fixed the second issue. |
Fixed double selection because of pre-fetching
Worked for me! 👍 |
@patchthecode I'm noticing another issue that may or may not be related to your latest updates. When I start my application I'm in one row mode at the current date. If I click my expand button I am in the same month. If I retract the calendar back to 1 row, the dates shown are the 24th - 30th of January, so almost 1 entire year back. Code above is basically the same. Also calendarView.scrollToNextSegment() and calendarView.scrollToPreviousSegment() seem broken with 1 row. ScrollToPrevious goes back by entire months even when set to 1 row and scrollToNext doesn't scroll at all. |
Ok. Looking into it |
Lets track this here -> #202 |
I am experiencing the same issue, where Calendar glitches on selected dates. And my configure cell function is exactly the same on tutorials on the JT website. |
have you looked at the discussion on the related issue? #202 ? |
Calendar works great for the most part! Very informative tutorials.
So I'm making a calendar that has a button that expands it from 1 to 6 rows. With 6 rows I have it working and looking great, but with 1 row I have a couple issues:
When I set outDates to .off, the view starts off incorrect, but corrects itself on selection, which is a bit jarring.
This happens when I select a date near the end of my row (i.e. the right side), scroll towards that direction, and select another date on the opposite (i.e. left) side. Scrolling back towards the first selection will still show a selected date. Then if you make another selection near it, it may show the duplicate on the same row.
Relevant code:
Is there anything I'm doing wrong? Thanks!
The text was updated successfully, but these errors were encountered: