Drag and Drop Time attributes are not honored correctly

Hello support team,

I'm facing a struggle where I have a basic SfScheduler on a page. I have all the data bound properly and my events are displaying correctly, but when I attempt to drag and drop from one day/time to another it consistently defaults it to the day I selected, but always at midnight. The hour/minute in which I'm trying to put it is not honored.

This is my scheduler. As you can see I'm using the Week View, and I have the TimeIntervalHeight set to -1 so that the entire calendar is visible on screen.

<scheduler:SfScheduler 
x:Name="scheduler"
AppointmentsSource="{Binding AvailableMeals}"
View="Week"
AllowAppointmentDrag="True"
AppointmentDragOver="Scheduler_OnAppointmentDragOver"
AppointmentDrop="Scheduler_OnAppointmentDrop">
<scheduler:SfScheduler.DragDropSettings>
<scheduler:DragDropSettings AllowScroll="True" ShowTimeIndicator="True" AllowNavigation="True"/>
</scheduler:SfScheduler.DragDropSettings>
<scheduler:SfScheduler.AppointmentMapping>
<scheduler:SchedulerAppointmentMapping
Id="MealId"
Subject="FriendlyTitle"
StartTime="MealStartTime"
Background="MealBackgroundColor"
EndTime="MealEndTime"/>
</scheduler:SfScheduler.AppointmentMapping>
<scheduler:SfScheduler.MonthView>
<scheduler:SchedulerMonthView
AppointmentDisplayMode="Text" NumberOfVisibleWeeks="2"
NavigationDirection="Vertical" AppointmentTemplate="{StaticResource MonthAppointmentTemplate}"/>
</scheduler:SfScheduler.MonthView>
<scheduler:SfScheduler.DaysView>
<scheduler:SchedulerDaysView
NumberOfVisibleDays="7"
TimeInterval="1:0:0"
TimeIntervalHeight="-1"
AppointmentTemplate="{StaticResource MonthAppointmentTemplate}"/>
</scheduler:SfScheduler.DaysView>
</scheduler:SfScheduler>


If I remove the TimeIntervalHeight="-1", then the drag and drop works as I would expect, but I need the calendar to be completely visible on screen without requiring to scroll up/down.


2 Replies

VM Vidyalakshmi Mani Syncfusion Team May 13, 2025 02:02 PM UTC

Hi Matthew,


We have checked, and we can replicate the reported issue. We have logged an issue report for this; we will fix this issue and include the issue fix in our weekly NuGet release update which is expected to be available by June 03, 2025. We appreciate your patience until then.


You can track the status of this report through the following feedback link: Appointment-is-dropped-at-the-wrong-time-when-timeintervalheight-is-set-to-1


Note: The feedback link provided is private, and you need to log in to view this feedback.


Disclaimer: Inclusion of this solution in the weekly release may change due to other factors including but not limited to QA checks and works reprioritization


Regards,

Vidyalakshmi M.




SR Sri Radhesh Nag Subash Sankar Syncfusion Team June 3, 2025 12:09 PM UTC

Hi Matthew,

             

# Drag and Drop Time attributes are not honored correctly


We have fixed the reported issue and included the issue fix in our latest weekly NuGet release update version 29.2.8, which is available for download at nuget.org


Root Cause: Parameters to get time interval size is not passed properly for the case of time interval height = -1 during that it returns infinite values.


We thank you for your support and appreciate your patience in waiting for this release. Please get in touch with us if you require any further assistance.


Regards,

Sri Radhesh Nag S


Loader.
Up arrow icon