Our pure JavaScript Scheduler component

Post by muhammad faisal »

I have set the start date and end date for the scheduler and disabled the infinite scroll feature. However, when I zoom out of the scheduler, I noticed that dates earlier than the initial start date appear in the timeline, and the end date is also changed.

For instance, I initially set the start date to November 29, 2020, and the end date to January 10, 2021. But after zooming out, the start date changes to August 9, 2020, and the end date changes to May 30, 2021.

Please watch the following video for an example: https://www.loom.com/share/561b06d8c705409684ae9a16ef9ae76b

Post by ghulam.ghous »

Hi Muhammad Faisal,

This is happening because the viewPreset is being changed on the zoom in or out and the original timespan is being changed. In order to keep the original timespan, you need to set the zoomKeepsOriginalTimespan: true. Here's the docs:


Hope this helps!


Post by muhammad faisal »

Yes, that works for me. Thank you for your help with this.

Post by muhammad faisal »

Hi Ghulam,
As per your suggestion, I have set zoomKeepsOriginalTimeSpan to true in the scheduler config. However, this has caused another issue as the scheduler freezes when zooming in or out.
Here is the video link: https://www.loom.com/share/8f10694a99a84178b562b3b37145b5db

Post by tasnim »

Thanks for your report. We'll investigate it. Here is the ticket to track progress https://github.com/bryntum/support/issues/9396

Best regards,

Post Reply