vkurko/calendar

Duplicate calling eventSources.events function in dayGridMonth view

dimakovalevskyi opened this issue · 4 comments

Hello!

I use this code to load events dynamically via Ajax:

eventSources: [
  {events: loadEvents}
]

And when the calendar starts with dayGridMonth view, loadEvents function is called twice with different time ranges. This triggers two Ajax requests simultaneously after loading the page and executing js.
image

I think this is a bug. Can be this fixed?

I prepared Demo to show you.
image

vkurko commented

I confirm this is a bug. I'll try to fix it a.s.a.p.

I confirm this is a bug. I'll try to fix it a.s.a.p.

Thank you a lot!

vkurko commented

This should be fixed in v1.4.1. Please check.

I confirm the bug is fixed. Thank you!
I will close issue.