bryntum / support

An issues-only repository for the Bryntum project management component suite which includes powerful Grid, Scheduler, Calendar, Kanban Task Board and Gantt chart components all built in pure JS / CSS / TypeScript
https://www.bryntum.com
54 stars 6 forks source link

Recurrence works incorrect when move event for few recurrence steps forward and back #10369

Open chuckn0rris opened 3 days ago

chuckn0rris commented 3 days ago

Forum post

Hi, I noticed that when enabling recurrence, if I move the first event (where recurrenceRule is set) forward and then reposition it to the previous date, a 'gap' is created, and the recurring event that was there before no longer appears.

The steps are as follows:

The event "Every 3 days" is initially placed at Monday, January 1, 2018, and I move it to January 7, 2018. After this operation, the event scheduled for January 4, 2018, disappears, which is correct.

At this point, I move the event from January 7, 2018, back to January 1, 2018 (the original event date). At this point, the event for January 4, 2018, is created again, but January 7, 2018, remains empty, effectively creating a "gap."

I checked whether the date January 7, 2018, was in the exceptionDates property, but the property contains an empty object.

I don’t understand how I can prevent this behavior because I need all events to always be generated.

I am attaching a video showing the issue.

https://github.com/user-attachments/assets/75b3c1ef-cf1a-4c47-af2a-335728903839

chuckn0rris commented 2 days ago

When found a reason, please provide a workaround for a client, if possible