-
-
Notifications
You must be signed in to change notification settings - Fork 876
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
List of events for a day is not changing after selecting another day #959
Comments
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 |
Hey, sorry to hear you're having issues, please can you attach a runnable stackblitz that reproduces your issue? Without it I can't really tell what's going on, thanks! 😄 |
Here you go: Stackblitz app |
Wow, that's so weird, it's like change detection just isn't working. If I call |
Maybe it's a bug in Angular. Anyways thank you for the "dirty fix"! :) |
I have this issue after upgrading from 0.27.2 to 0.27.3 version |
Ahhhh, yes, it'll be the lazy click handlers. I'll see what I can do! |
Fixed in |
I don't know if this belongs here, but if I'm adding an event to the events array after ngInit (Fetching data etc from a server) it's also don't updating the complete calendar view. With cdr.detectChanges() it's working. |
@Dafnik - Can you make a repro? |
Sorry I'm not sure I can see the issue, the stackblitz is the one from this comment: #959 (comment) |
Sorry, I shared the wrong url. Here you have the new one, adding an event after three seconds. I hope you can see that the calendar view isn't updating until you click on it. |
Oh I see the issue, it's because you're using
|
Ohh, thank you! |
Describe the bug
After clickling in the month view on another day, the list of all events on this day is not changed. Sometimes it changes (after a long pause) and sometimes it doesn't change at all. Please note that this bug isn't affecting the demo and in my example I simply copied the demo.
Minimal reproduction of the problem with instructions
Screenshots
Streamable link
Versions
@angular/core
: 7.2.14angular-calendar
: 0.27.5The text was updated successfully, but these errors were encountered: