fullcalendar / fullcalendar-angular

The official Angular component for FullCalendar
https://fullcalendar.io/docs/angular
MIT License
1.07k stars 175 forks source link

Bug: Events get duplicated multiple times when dropping and updating them from the options object #357

Closed johannesjo closed 3 years ago

johannesjo commented 3 years ago

Steps to recreate:

  1. Check out https://github.com/johannesjo/super-productivity/tree/feat/calendar
  2. execute yarn && ng serve
  3. Create a couple of tasks in the task list view
  4. Open the menu and select "Calendar"
  5. Start to drag around the tasks in the daily agenda view like a mad man.

All the relevant code is located here: https://github.com/johannesjo/super-productivity/blob/feat/calendar/src/app/features/calendar/calendar.component.ts

Result: Events will be duplicated multiple times until the calendar is completely rererendered (by navigating away and then back).

Is your bug/feature applicable to the core project, without Angular?

I am not sure.

acerix commented 3 years ago

Please submit this ticket under Issues with a runnable, stripped-down demonstration, then link this PR to it.