This question already has an answer here:
Is it possible to make a Angular Material Dialog draggable? because after a loosing a lot of time for searching i didn't found a very clear answer.
This question already has an answer here:
Is it possible to make a Angular Material Dialog draggable? because after a loosing a lot of time for searching i didn't found a very clear answer.
Yes and this was included in Angular Material version 7+ update, by using the cdkDragRootElement
Here's a sample copied from material.angular.io
HTML:
TS:
Stackblitz: Draggable Dialog