bug on dayClicked
See original GitHub issueDescribe the bug
when I click on cell (I call dayClicked method) I do http request to get data from db and after I got data, I set activeDayIsOpen as true; but my openDayEventsTemplate doesn’t opening , but activeDayIsOpen is true already
Minimal reproduction of the problem with instructions
Screenshots
Versions
@angular/core
: latest versionangular-calendar
: latest version- Browser name and version: Chrome 76
Issue Analytics
- State:
- Created 4 years ago
- Comments:10 (3 by maintainers)
Top Results From Across the Web
Calendar dayClick bug - Questions - Framework7 Forum
Hello, Calendar is When using calendar.getValue or dayClick, month value is 1 month behind. for example: If I select August 11 2022, ...
Read more >fullcalendar dayclick bug - CodePen
URL Extension Required. When linking another Pen as a resource, make sure you use a URL Extension of the type of code you...
Read more >FullCalendar dayClick not working (does nothing)
Using an external monitor with a lot of height, the bug never happend. Only on the move, with a smaller screen, the bug...
Read more >angular-calendar documentation - GitHub Pages
0 (2017-08-29). Bug Fixes. monthView: don't fire dayClicked output when clicking on an event and using hammerjs (283c50e), closes #318 ...
Read more >[ABMaterial] ABMCalendar -DayClicked | B4X Programming Forum
I noticed an error during the DayClicked method in ABMCalendar. Namely, the procedure gets a date e.g. ... Bug? [ABMaterial] ABMCalendar -DayClicked.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks for that, I see the problem now! When you use
OnPush
change detection, angular doesn’t run change detection inside async events like setTimeout or http calls so you need to injectChangeDetectorRef
and runthis.cdr.markForCheck()
to manually run change detection. Heres your demo fixed: https://stackblitz.com/edit/angular6-calendar-wc9de8?file=demo/component.ts Hope that helps! 😄Anyway, thank you very much for solution ))