While I am trying to add a child task from the context menu, suddenly it is adding a primary task to the top even not popping up a modal window to add a name or date. I am providing the snippet of the razor file here :
@using Syncfusion.Blazor.Gantt
@using Syncfusion.Blazor.Data
@using Syncfusion.Blazor
<SfGantt @ref="Gantt"
DataSource="@Models"
Height="450px"
Width="100%"
Toolbar="@(new List<string>() { "Add", "Edit", "Update", "Delete", "Cancel" })"
AllowReordering="true"
ShowColumnMenu="true"
AllowSelection="true"
EnableContextMenu="true"
AllowFiltering="true"
AllowSorting="true"
AllowResizing="true"
TaskMode="ScheduleMode.Manual"
EnablePredecessorValidation="true">
<SfDataManager Adaptor="Adaptors.CustomAdaptor" DataType="TaskData">
<CustomDataAdaptor></CustomDataAdaptor>
</SfDataManager>
<GanttTaskFields Id="Id" Name="Name" StartDate="StartDate" EndDate="EndDate"
ParentID="ParentId"
Duration="Duration" Progress="Progress" Child="Activities">
<GanttEditSettings Mode="EditMode.Dialog" AllowAdding="true" AllowDeleting="true" AllowEditing="true" AllowTaskbarEditing="true" ShowDeleteConfirmDialog="true">
</GanttEditSettings>
</GanttTaskFields>
</SfGantt>