Our powerful JS Calendar component


Post by tdset »

Hi, we are using the Calendar + Scheduler integration and we're currently experiencing a nasty bug that leads to a crash.

Steps to reproduce:

  1. use the default demo (https://bryntum.com/products/calendar/examples/calendar-scheduler/)
  2. make sure the events in the dataset are for the current month, and that you have events for more than the current week
  3. configure the Calendar with
    mode: "month"
    and
    date: new Date()
  4. load the page and click on an event that's not in the current week; then click on the Timeline button.

Screen recording: https://www.dropbox.com/scl/fi/j27gd59nbujw77oytmslc/bryntum-freeze.mov?rlkey=i0avtppy125gekg20fpwknhhu&dl=0

Using Calendar 5.6.3.

Thanks!


Post by tasnim »

Hi,

I'm not able to reproduce it. I've changed the month to December and date to new Date but everything is working fine for me.
Could you please provide the whole code and the data you've used to reproduce it?


Post by tdset »

Hi, step #2 above is critical. I attached the modified example code.

These are the changes made:
Image

Attachments
calendar-scheduler.zip
(443.44 KiB) Downloaded 21 times

Post by tdset »

Managed to simplify the scenario and reproduced it on the online example, without dataset changes:
https://www.dropbox.com/scl/fi/vyzbo0v1a4clv2664go1m/bryntum-freeze-2.mov?rlkey=2j6qrs819d106pfhfwfbst1h1&dl=0

It seems like what triggers the issue is changing the date to something that's not in the current week, prior to switching to Timeline.


Post by ghulam.ghous »

Hi tdset,

Thanks for the report and clear instructions to repro this issue. We are able to reproduce this issue in our online demo and created a ticket to get it fixed as soon as possible. You can subscribe to the ticket to keep track of updates https://github.com/bryntum/support/issues/8071.

Regards,
Ghous


Post Reply