Delay after drag and drop in Kanban

Hey,

we are currently implementing your Kanban component in our application.

I noticed that the Kanban behaves pessimistically: after dragging and dropping a card, it first moves the card back to the original column before moving it to the new column.

When I attach a debugger to the DragStop event, I see that at the beginning of this event, the card is still in the old column.
Is there a way to implement an optimistic approach in Kanban, so that the card is already in the new column when the DragStop event is triggered?

We are trying to eliminate this "jumping" behavior of the cards.
We are already using the following code at the beginning of our OnDragStop method:

await KanbanLeadRef.UpdateCardAsync(entity, entityIndex);

After calling this, the card moves to the new column.
This already reduces the time it takes for the card to move from one column to another.

However, we still clearly see the flickering effect.

To reproduce this issue, you can also try it yourself in one of your demos:

https://blazor.syncfusion.com/demos/kanban/overview

If you drag a task from one column to another, you will see that it briefly jumps back to the previous column for about a second.

It would be great if there is already a solution for this behavior!

Kind regards,
Patrick


2 Replies

PK Priyanka Karthikeyan Syncfusion Team April 17, 2025 12:11 PM UTC

Hi Patrick Wienzek,

We have considered this issue "Kanban Card Temporarily Returns to Old Position After Drop" as a bug from our end, and the fix for the issue will be included in our upcoming weekly release which is expected to be scheduled on First week of May 2025.

 

You can now track the status of the feedback through the below link,

 

Feedback link:https://www.syncfusion.com/feedback/67074/kanban-card-temporarily-returns-to-old-position-after-drop

 

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,

Priyanka K



KN Kundurthi Naga Siddartha Kundurthi Vennela Prasad Syncfusion Team May 6, 2025 12:07 PM UTC

Hi Patrick Wienzek,


We have included the fix for the issue “Kanban Card Temporarily Returns to Old Position After Drop” with our package version “29.1.41”. Therefore, we recommend upgrading to our latest version to resolve the current issue.


Rootcause:

The issue occurs because the dragStopClear method was called before the DragStop event. Since it clears the drag data too early, the card gets moved to the first column.


We have attached a working sample for your reference.


Regards,

K N Siddartha.


Attachment: WebAppServer_fd2dad55.zip

Loader.
Up arrow icon