Skip to content
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

FSCalendar crash most of the time when minimumDate & maximumDate is set Today and selectDate is also Today #604

Closed
santu7420 opened this issue Mar 5, 2017 · 4 comments

Comments

@santu7420
Copy link

santu7420 commented Mar 5, 2017

FSCalendar crash most of time when minimumDate & maximumDate is set Today and selectDate is also Today. Below is step for reproducible.

  1. Download latest version of Master on 5-Mar-2017
  2. Open Project "Example-Objc"
  3. Goto FullScreenExampleViewController.m and Change below code in ViewDidload -

self.minimumDate = [NSDate date];
self.maximumDate = [NSDate date];
[self.calendar selectDate:[NSDate date] scrollToDate:YES];

  1. Run Application on Simulator / Device and Tap - FullScreenExample (Please repeat Back to Home and Home to Full Screen Example if crash not happen 1st time)
  • Xcode version. 8.2.1

Screen Shot -

screen shot 2017-03-05 at 8 05 21 pm

Sample Project -

FSCalendar-master 2.zip

@LittleMango
Copy link

It had been fixed in version 2.7.3.In my case,I set the calenderView's width is not screenView's width(375 dot in 4.7 inch) but 290 dot, and set min & max date range. when I scroll to max date view, it crashed.

@santu7420
Copy link
Author

@LittleMango No , Issue is still there , Please download attach sample project to reproduce same.

@WenchaoD
Copy link
Owner

WenchaoD commented Mar 6, 2017

Fixed by This commit.

@santu7420
Copy link
Author

@WenchaoD Thank you so much , I will close this issue after review .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants