Gantt: Issue creating new task after editing existing one

1 Answer 111 Views
Gantt
Beto
Top achievements
Rank 1
Beto asked on 27 Aug 2021, 12:52 PM

Hi,

So when working with the Gantt timeline I came upon a weird issue.

I have a simple view in which I enabled editing the title directly in the tree view. 
When I click the 'add task' button after loading the page it works without issues. A new item will be added to the end of the list like it should.

After double clicking into any task and changing the title, this button does not really work anymore.
For some reason the menu, that usually only shows up, when an entry is selected, will appear.
Clicking 'add above' or 'add below' only produces console errors since there is obviously no item selected (see attached image).

It makes no difference if the task has been modified using the dialog or by double clicking the title in the left pane and editing it there.

This behavior also occurs in the linked dojo using the latest Kendo version (2021.2.616)
https://dojo.telerik.com/uBAHUgOy

In our project I temporarily solved it by re-selecting the entry in the save event listener but I think this is a more general issue with the gantt timeline.

save: function (data) {
    window.setTimeout(()=>{
     $timelineArea.data("kendoGantt").select('tr[data-uid="' + data.task.uid +'"]')
}, 500)
},

 

 

Thanks in advance for helping comments

1 Answer, 1 is accepted

Sort by
0
Martin
Telerik team
answered on 01 Sep 2021, 12:26 PM

Hello, Beto,

Thank you for reporting the behavior.

I have logged a new bug report in our Feedback Portal where you can track its status. As the bug was introduced in a previous version, it is logged with very high priority and a fix will be available in the next releases to come.

As a small token of gratitude for reporting the bug, I am updating your Telerik Points.

Let me know if you have any questions.

Regards,
Martin
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Tags
Gantt
Asked by
Beto
Top achievements
Rank 1
Answers by
Martin
Telerik team
Share this question
or