Hey,
We have opened a fix for this issue and ticket is in review process. Please follow the ticket to keep track of updates.
There seems to be some disconnect here, or am I missing something?
You say you want to scroll to the start of an event, but you use block : 'center'
in your code.
myScheduler.ScrollEventIntoView(myEvent, {
block : 'start',
animate : true
})
Should work, after this ticket is fixed: https://github.com/bryntum/support/issues/11328
This should be in the 6.2.3 release which is due soon.
But there is a bug, where if using block : 'center'
and the event bar is wider than the entire time axis, the center of the rendered element which is scrolled to using that, may not be the center date of that event.
Remember the event bar might stick out further on one side of the time axis, depending on the timeAxis start and end time. So these situations have to be handled specially.
This will be fixed in 6.2.3