Component: Dialog in 'headless' mode can not be draggable
#15499
Labels
Status: Needs Triage
Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
Describe the bug
The
draggable
option on DynamicDialog's dialog is only applicable when using the built-in primeng dialog header. However, if we want to have a custom dialog header, there is no way to call into theDialog
'sinitDrag
event manually.Environment
Window,s Chrome
Reproducer
No response
Angular version
17.3.7
PrimeNG version
17.16.0
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
20.x
Browser(s)
No response
Steps to reproduce the behavior
I can get access to the
DynamicDialogRef
but that does not expose any way to start/support draggable for the dialog such as via theinitDrag
method.Expected behavior
A few options:
DynamicDialogRef
objectinitDrag
(and possibly others) should be exposed directly off of theDynamicDialogRef
instead of the whole Dialog instance if that should remain an internal implementation detailThe text was updated successfully, but these errors were encountered: