Ability to customize Dialog visible style property #4320
Labels
Type: Enhancement
Issue contains an enhancement related to a specific component. Additional functionality has been add
Milestone
There is no guarantee in receiving a response in GitHub Issue Tracker, If you'd like to secure our response, you may consider PrimeNG PRO Support where support is provided within 4 business hours
I'm submitting a ... (check one with "x")
Feature Descripton
I would like to ask for the ability to use flexbox in p-dialog component. Currently property "display" in ui-dialog is set to 'block' or 'none' depending on the "visible" attribute. This overrides a possible "display: flex" and using !important would override the 'none' value when dialog should be hidden.
In order to fix this a new div ui-dialog-container could be introduced inside ui-dialog in order to contain the titlebar, content and footer parts of the dialog.
Rough sketch of component structure:
What is the motivation / use case for changing the behavior?
More flexible styling of the Dialog component.
Angular version: 2.0.X
4.0.0
PrimeNG version: 2.0.X
4.3.0
Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]
All
Language: [all | TypeScript X.X | ES6/7 | ES5]
All
The text was updated successfully, but these errors were encountered: