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

"Selectable Period" demo not working #961

Closed
Mattkins opened this issue Apr 26, 2019 · 3 comments
Closed

"Selectable Period" demo not working #961

Mattkins opened this issue Apr 26, 2019 · 3 comments

Comments

@Mattkins
Copy link

Describe the bug

In the "Selectable Period" example, days that are selected are not updating with the correct class in the DOM when the dayClicked handler is executed.

The demo works fine, but the StackBlitz does not. Days do not have the selected class applied unless the view is switched, demonstrating that the class is being applied in beforeMonthViewRender(), but not dayClicked()

Minimal reproduction of the problem with instructions

To reproduce, just open the StackBlitz and click a day. It won't highlight when clicked, but will highlight if you switch views or go to another month and then come back to the original view.

Screenshots

Versions

  • @angular/core: 7.2.14
  • angular-calendar: 0.27.5
  • Browser name and version: Chrome 73.0.3683.103
@matts-bot
Copy link

matts-bot bot commented Apr 26, 2019

Thanks so much for opening an issue! If you'd like me to give priority to answering your issue or would just like to support this project, then please consider supporting me on Patreon

@Mattkins
Copy link
Author

FYSA: The workaround in #959 also fixes this issue.

@mattlewis92
Copy link
Owner

Thanks for reporting, fixed in 0.27.6!

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

2 participants