I'm using the trial pro version and getting the issue, that when I call the "scrollTo" function, it is not scolling exactly to the selected day but to the selected month.
Here is the explaination:
I've a filter and search button. The user can select a time period. When the user clicks on filter button, I scroll to the selected period.
search(){
const day = filter.dayFrom; // "2021-08-13"
if ( this.scheduler.visibleStart() <= day && day < this.scheduler.visibleEnd()) {
this.scheduler.scrollTo(day, "fast");
} else {
this.config.startDate = dayFrom.firstDayOfMonth();;
this.scheduler.scrollTo(day, "fast");
}
}
the case is now: the scheduler is pointing now on the current time(05-2021). when I click search it calls the "search" mehtod and scrolls to the firstDayOfMonth // "2021-08-01".
BUT when I click search again it scrolls to "2021-08-13", which is supposed to be done by the first call. The reason probably now is, that the scheduler is pointing to the wanted month August.