-
Notifications
You must be signed in to change notification settings - Fork 808
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
Able to multiple selections after reloadData()
#1299
Comments
OK. I'll take a look after work today. |
Just got time. Taking a look at this now. |
Are you still experiencing this? and if so, what version of XCode are you using? The only clue that I have based on what you have said, is that
This lets me think that you have probably upgraded. If this is the case, then maybe your deselect/select function name needs to be updated? I have the migration guide over here where I show all the names of the function that has been changed. Apologies for the late reply, but time in 2020 is a bit hard to come by for me. |
Hi @patchthecode , I'm still seeing this error. I'm using the correct delegate methods. The key step to reproduce this error is setting the current date as Oct 23. |
Hey @patchthecode I am also facing this issue. |
I'm also seeing this issue on v8.0.3. To test I implemented the select and deselect delegate callbacks:
In some cases
But this does appear to be a library issue. |
Hi @jvisenti , I just tried your solution on the demo project that I had attached with this issue https://github.com/dabaicaifen/CalendarDemo. |
(Required) Version Number: 8.0.3
Description
Demo: Demo Project
After
reloadData()
called, the calendar can be highlighted with multiple dates, even already disabled multiple selections.Steps To Reproduce
1, Run the demo project
2, Selected someday outside the current month (such as Nov 3)
3, Click the table row to open a detail page.
4, Go back and click another day outside of the current month (such as Nov 4)
5, Observe, the 3rd and 4th are both highlighted.
Expected Behavior
Only the new selected day should be highlighted, in this case, the Nov 4th.
Additional Context
Testing on 7.1.8, there's no issue.
The text was updated successfully, but these errors were encountered: