Primeng: Draggable DynamicDialog

Created on 14 Jun 2019  路  7Comments  路  Source: primefaces/primeng

Is there a property that can be set to allow the dynamic dialog to be draggable in the same way the dialog is draggable ?

new feature

Most helpful comment

Yes should be very nice!
And also:

  • maximizable
  • resizable

etc from Dialog

All 7 comments

Yes should be very nice!
And also:

  • maximizable
  • resizable

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-dialog

I 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

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jisqaqov picture jisqaqov  路  3Comments

gatapia picture gatapia  路  3Comments

Faigjaz picture Faigjaz  路  3Comments

Helayxa picture Helayxa  路  3Comments

watalberto picture watalberto  路  3Comments