Hi,
When using travelTime in events and a filter on the timeAxis together, the snap to grid feature of the scheduled events change. Somehow the events seem to consider the travelTime as well, but this does not feel very intuitive.
I was able to recreate this behavior by changing the travel-time demo from the scheduler examples and adding the following in tbar:
{
type : 'slidetoggle',
label : 'Filter non-working times',
color : 'b-blue',
checked : false,
onChange({ checked }) {
if (checked) {
scheduler.timeAxis.filter((t) => new Date(t.startDate).getHours() > 6 && new Date(t.startDate).getHours() < 18);
} else {
scheduler.timeAxis.clearFilters();
}
}
}
As soon as the filter is enabled, the events do snap strangely when moving.
BR,
Alex