telerik / kendo-angular

Issue tracker - Kendo UI for Angular
http://www.telerik.com/kendo-angular-ui/
Other
464 stars 213 forks source link

[Grid, TreeList] Column dragging element clue isn't cleared when the component is destroyed #4275

Open yanmariomenev opened 3 months ago

yanmariomenev commented 3 months ago

Describe the bug When dragging a column it creates a div clue element that informs the user which column is being dragged. However, that drag element isn't cleared from the DOM tree when the component is destroyed.

To Reproduce Open any of the below examples, start dragging a column, and press any keyboard key to remove the component using ngIf.

Grid - https://stackblitz.com/edit/angular-dy4gxz?file=src%2Fapp%2Fapp.component.ts TreeList - https://stackblitz.com/edit/angular-bvif54?file=src%2Fapp%2Fapp.component.ts

https://github.com/telerik/kendo-angular/assets/49076727/84e94a17-7d3e-47ab-b80c-5f81317ef76d