Relative Content

Tag Archive for angularangular-materialdrag-and-drop

Drag-Drop – prevent placeholder creation – keep original

I have a mat table that supports nested tree lists where I allow drag drop (reordering disabled) to drag row on top of each other. The problem is that I need events on each table row. But when a row is dragged, it’s replaced by a html duplicate, the placeholder, that does not have any events attached and does not update it’s classes: