I*m using both the slot selection and a single click event handler in the same scheduler component:
<kendo-scheduler
[kendoSchedulerBinding]="allEvents$ | async"
(eventClick)="eventClickHandler($event)"
kendoSchedulerSlotSelectable
(slotSelectionChange)="onTimeSlotSelectionChange($event)"
[resources]="resources"
[selectedDate]="selectedDate"
[(selectedViewIndex)]="selectedViewIndex"
[eventClass]="getEventClass"
(dateChange)="onDateChange($event)"
[loading]="loading"
showWorkHours="true"
workDayStart="{{formatDateAsTime(businessStartDate)}}"
workDayEnd="{{formatDateAsTime(businessEndDate)}}"
style="height: 1050;"
>
<ng-template
kendoSchedulerEventTemplate
let-event="event"
let-resources="resources"
>
<span class="{{ resources[0].customCssClass }}">{{formatEventText(event, resources[0])}}</span>
</ng-template>
<kendo-scheduler-day-view [eventHeight]="300"></kendo-scheduler-day-view>
<kendo-scheduler-week-view></kendo-scheduler-week-view>
<kendo-scheduler-month-view></kendo-scheduler-month-view>
</kendo-scheduler>
I would expect when clicking on an existing event in the scheduler, only the eventClick handler would fire. But both the eventClick handler AND the slotSelectionChange handler are firing in that case. How do I prevent that?