kendo-react icon indicating copy to clipboard operation
kendo-react copied to clipboard

[Bug][Grid] Wrapping DragAndDrop over a Grid with enabled reordering throws error when the header cell is dragged

Open kdikov82 opened this issue 2 years ago • 2 comments

The Grid uses Draggable for handling the reordering of the columns and if DragAndDrop is used for reordering rows, the columns reordering throws an error due to the double initialization for drag&drop: https://stackblitz.com/edit/react-3cenyq-xtigta?file=app%2Fmain.tsx

To reproduce the issue, try to reorder any columns from the header cell.

Something that we can investigate as a possible solution is to add "filter" option for the DragAndDrop (useDraggable, useDroppable) to avoid specific elements (maybe a callback function for manually filtering the elements)

kdikov82 avatar Sep 25 '23 18:09 kdikov82

Reported in Ticket ID: 1626615

iadnonov avatar Nov 21 '23 07:11 iadnonov

Also reported in Ticket ID: 1647410

WissamProgress avatar Apr 08 '24 13:04 WissamProgress

fixed in the latest version of KendoReact 8.1.1 - https://stackblitz.com/edit/react-3cenyq-hvxpzz?file=package.json

zdravkov avatar Jul 12 '24 07:07 zdravkov