-
Notifications
You must be signed in to change notification settings - Fork 106
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
Ranges turn into single selections #31
Comments
Make sure all the calls to the calendar api are in the main thread |
Yup, all calls are on the main thread. I'm not doing anything terribly complex, just setting a couple ranges and scrolling. Is anyone else seeing this issue? |
Can you share me the code so I can check what's wrong with it. |
Sure, thanks for the help! A good portion of this is boilerplate code I took from the example, and then I added some pre-defined ranges. `- (void)viewDidLoad {
}` |
Did you call
|
No, I did not have [calendarView reload] in viewWillAppear, but I added it and I can still see the issue. Regarding taking out those lines, if I remove them I get a crash: *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'negative sizes are not supported in the flow layout' Just based on the behavior, this looks like this might be a cell reuse issue. Any other thoughts? |
Not sure how to describe this, but sometimes the range shows correctly, and sometimes it shows up like the attached screenshot. I also noticed that if the range looked correct, then I scrolled the range off the screen, then scrolled back, some of these symptoms also showed up. Any thoughts?
The text was updated successfully, but these errors were encountered: