Is there a property that can be set to allow the dynamic dialog to be draggable in the same way the dialog is draggable ?
Yes should be very nice!
And also:
etc from Dialog
Are there any updates on this?
For Angular 9 & Ivy, Dialog has been rewritten.
Is-it possible to rewrite DynamicDialog in order to have the same functionality as the classic dialog ?
Thanks
I'm also looking forward to see the DyanmicDialog with the same functionality as the classic Dialog.
Here is a piece of code on Medium that responds exactly to this use case : medium.com draggable-directive-and-how-to-make-angular-material-dialog-draggable.
the implementation uses an Angular Directive. The code has to be a little bit adjusted: it uses the old syntax of ngrx and the dragHandle/dragTarget should be .p-dynamic-dialog
I hope this helps :)
Here is a piece of code on Medium that responds exactly to this use case : medium.com draggable-directive-and-how-to-make-angular-material-dialog-draggable.
the implementation uses an Angular Directive. The code has to be a little bit adjusted: it uses the old syntax of ngrx and the dragHandle/dragTarget should be .p-dynamic-dialogI hope this helps :)
thank you helped me!
I made a change dragTarget=".p-dynamic-dialog" dragHandle=".p-dialog-header"
because I had an issue with textarea.
+1
Most helpful comment
Yes should be very nice!
And also:
etc from Dialog