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

thank you for the update, that works but only after I opened the calendar. #5

Closed
mduccc opened this issue Jul 22, 2020 · 0 comments · Fixed by #6
Closed

thank you for the update, that works but only after I opened the calendar. #5

mduccc opened this issue Jul 22, 2020 · 0 comments · Fixed by #6
Labels
bug Something isn't working

Comments

@mduccc
Copy link
Owner

mduccc commented Jul 22, 2020

thank you for the update, that works but only after I opened the calendar.
I will try to explain all the steps to reproduce this problem:

  • Open the page with the calendar, today is July 3d.
  • I click on July 4th, the _selectedDate is updated and I can draw my content for July 4th.
  • Close the page with the calendar, reopen it.
  • The _selectedDate is July 3rd (today), but the highlighted date is still July 4th, but without drawing my content for July 4th. The loaded content is for the default _selectedDate, July 3rd.

It looks like it caches the previous click without clearing it when I reload it.

Originally posted by @albert0m in #1 (comment)

@mduccc mduccc added the bug Something isn't working label Jul 22, 2020
@mduccc mduccc linked a pull request Aug 6, 2020 that will close this issue
@mduccc mduccc closed this as completed Aug 6, 2020
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
None yet
Development

Successfully merging a pull request may close this issue.

1 participant