How can i make a MatDialog draggable / Angular Material

前端 未结 4 923
情深已故
情深已故 2020-11-27 15:49

Is it possible to make a Angular Material Dialog draggable? I installed angular2-draggable and can of course use the functionality on all other elements.

But because

4条回答
  •  攒了一身酷
    2020-11-27 16:35

    In case anyone else runs into this, it's actually a noop to use cdkDrag and cdkDragHandle on the same element as is done in the examples here. The relevant GH Issue can be found here:

    https://github.com/angular/components/issues/18984

提交回复
热议问题