Hello kendo team.
Q: Is there a way in current or future versions to configure the visibility for hit (preview) element while dragging an item?
It seems that sortable has an hint: ElementRef; but no starlight forward way to configure its visibility.
Currently the following approach was used, but maybe there is a better way.
<kendo-sortable [activeItemClass]="'sortable-active-item'">
</kendo-sortable>
.sortable-active-item {
display: none;
}
.sortable-active-item[kendodraggable] {
display: block;
}
ps. The project is tied to the old version of kendo ( "@progress/kendo-angular-sortable": "^3.0.3") and cannot update the package now
Br
Hi Evgeniy,
Thank you for the provided details.
Your approach is valid and should be used in such a scenario as I can confirm that there isn't another fairly simple one available with our API.
Our team also introduced a new Drag and Drop utility package that allows more customization:
https://www.telerik.com/kendo-angular-ui/components/utils/draganddrop/
Regards,
Yanmario
Progress Telerik