Our pure JavaScript Scheduler component


Post by Rentman »

Hi I'm facing a bug where my showCurrentTimeLine from the TimeRanges feature isn't synced correctly between my two schedulers. It takes a noticeable time to update the partner's timeline when navigating around.

I'm using Scheduler Pro 4.1.0

All I had to do to reproduce this bug on the partner timeline demo is add the below code to both instances of Scheduler

timeRanges : {
	showCurrentTimeLine : true
}

When zooming/scrolling around you can notice in some cases the timeline doesn't sync fast. After some time or an action eventually it does fix itself but this is very inconsistent and stays very confusing when viewing events.

I've attached a screenshot for reference

image (2).png
image (2).png (75.78 KiB) Viewed 660 times

Post by mats »

Do you get an error on the console when this happens?


Post by mats »


Post by Rentman »

mats wrote: Wed Apr 14, 2021 4:40 pm

Do you get an error on the console when this happens?

Nope! No errors visible anywhere unfortunately


Post by mats »

Wasn't able to reproduce this, but found another bug. Can you reproduce this online? Your screenshot does not look like 4.1.0, if you compare to here: https://bryntum.com/examples/examples-scheduler/partners/

Missing the Sync Scrolling button. Try clearing cache?


Post by Rentman »

mats wrote: Wed Apr 14, 2021 5:12 pm

Wasn't able to reproduce this, but found another bug. Can you reproduce this online? Your screenshot does not look like 4.1.0, if you compare to here: https://bryntum.com/examples/examples-scheduler/partners/

Missing the Sync Scrolling button. Try clearing cache?

I'm sure this is 4.1.0, I stripped out the header buttons myself.. I attached a video with it now to make it more clear what I mean and also the code

Attachments
partners.zip
(617.44 KiB) Downloaded 64 times
Screen Recording 2021-04-15 at 09.37.11.mov.zip
(3.9 MiB) Downloaded 74 times

Post by mats »

Reproduced, thanks for providing context! We'll investigate https://github.com/bryntum/support/issues/2673


Post by mats »

Workaround is to set the partner up at construction time:

    partner           : scheduler1,

Post by Rentman »

mats wrote: Thu Apr 15, 2021 12:15 pm

Workaround is to set the partner up at construction time:

partner           : scheduler1,

This workaround doesn't really work for me. I load both schedulers dynamically in separate components and partner them at the end. I do not have access to the planner instance at construction time.


Post by mats »

Ok then need to wait until fix lands. You can grab nightly build next week and it's done!


Post Reply