I just updated to 17.4.39 from 17.3.18 and now I can't resize appointments in the month view while using <ScheduleEvents>. If I try to resize the appointment, the appoint doesn't change size, the resize handler disappears and the appoint loses focus, and then I can no longer interact with the appointment. The following reproduces the issue. Is this a bug or is there an error in the way I have updated my code for 17.4.39?
<EjsSchedule TValue="AppointmentData"
Height="100%"
Width="100%"
CurrentView="View.Month"
SelectedDate="@(new DateTime(2019,12,1))">
<ScheduleViews>
<ScheduleView Option="View.Month"></ScheduleView>
</ScheduleViews>
<ScheduleEvents TValue="AppointmentData"
OnResizeStart="OnResizeStart"></ScheduleEvents>
<ScheduleEventSettings DataSource="DataSource">
</ScheduleEventSettings>
</EjsSchedule>
@code{
AppointmentData appointmentModel = new AppointmentData();
List<AppointmentData> DataSource = new List<AppointmentData>
{
new AppointmentData{ Id = 1, Subject = "Meeting1", Location="Charleston, SC", StartTime = new DateTime(2019, 12, 11).Date , EndTime = new DateTime(2019, 12, 18).Date.AddMinutes(1)},
new AppointmentData{ Id = 2, Subject = "Meeting2", Location="San Diego, CA", StartTime = new DateTime(2019, 12, 11).Date , EndTime = new DateTime(2019, 12, 18).Date.AddMinutes(1)},
new AppointmentData{ Id = 2, Subject = "Meeting3", Location="Somewhere, VA", StartTime = new DateTime(2019, 12, 11).Date , EndTime = new DateTime(2019, 12, 18).Date.AddMinutes(1)}
};
public class AppointmentData
{
public int Id { get; set; }
public string Subject { get; set; }
public string Location { get; set; }
public DateTime StartTime { get; set; }
public DateTime EndTime { get; set; }
public string Description { get; set; }
public bool IsAllDay { get; set; }
public string RecurrenceRule { get; set; }
public string RecurrenceException { get; set; }
public Nullable<int> RecurrenceID { get; set; }
}
private void OnResizeStart(ResizeEventArgs<AppointmentData> eventArgs)
{
}
}