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

func willSelectDate(_ date: Date, type: CalendarType) not working properly #177

Closed
UmeshCW opened this issue Apr 7, 2021 · 1 comment · Fixed by #290
Closed

func willSelectDate(_ date: Date, type: CalendarType) not working properly #177

UmeshCW opened this issue Apr 7, 2021 · 1 comment · Fixed by #290
Assignees
Labels
bug Something isn't working

Comments

@UmeshCW
Copy link

UmeshCW commented Apr 7, 2021

Describe the bug

  1. When we scroll month, sometimes in willSelectDate() method we are getting two months dates. e.g.
    I scrolled from May to June, then in console it is showing the dates of June and July even I haven't gone to July month. Also while scrolling back same thing happening like e.g. I am scrolling from November to October, then I am getting dates in console for two month i.e. October and September.
  2. Current month date not getting most of the time after scrolling next month to back current month. e.g. current month is April, and I scrolled back from May month to April, then willSelectDate() method doesn't gets called.
    To Reproduce
    Steps to reproduce the behavior:
  1. Go to Month View
  2. Scroll down Month views
  3. Print date in willSelectDate() method
  4. try to scroll months one by one, you will observe date is not printing properly i.e. date is not getting sometime

Expected behavior
After scrolling forward and backward months only the scrolled month date should get in willSelectDate() method

@UmeshCW UmeshCW added the bug Something isn't working label Apr 7, 2021
@kvyatkovskys
Copy link
Owner

I'll check, thx for the issue.

@kvyatkovskys kvyatkovskys self-assigned this Oct 29, 2022
@kvyatkovskys kvyatkovskys moved this to In Progress in KVKCalendar Oct 29, 2022
@kvyatkovskys kvyatkovskys linked a pull request Oct 29, 2022 that will close this issue
Repository owner moved this from In Progress to Done in KVKCalendar Nov 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants