Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Component: Dialog - Custom Positioning Support #13966

Closed
AldoAbdiel opened this issue Oct 26, 2023 · 1 comment
Closed

Component: Dialog - Custom Positioning Support #13966

AldoAbdiel opened this issue Oct 26, 2023 · 1 comment
Labels
Status: Discussion Issue or pull request needs to be discussed by Core Team Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible Type: New Feature Issue contains a new feature or new component request

Comments

@AldoAbdiel
Copy link

Describe the feature you would like to see added

I propose enhancing the Dialog component by adding a new property or expanding the existing one to handle more complex positioning based on coordinates "X" and "Y". Currently, the Dialog component offers fixed position options like "center," "left," "top," "bottom," "right," "topleft," "topright," "bottomleft," and "bottomright."

Is your feature request related to a problem?

The current fixed position options limit the flexibility of instantiating the dialog precisely based on specific coordinates, hindering the ability to position the dialog dynamically.

Describe the solution you'd like

I suggest introducing a new property to the openDialog function. This property would accept an object with "x" and "y" coordinates. The dialog position would then be dynamically centered on the screen based on these provided coordinates, offering more precise control over its placement.

Describe alternatives you have considered

I have considered using the component OverlayPanel, but this one also doesn't fit the need described.

Additional context

No response

@AldoAbdiel AldoAbdiel added Status: Discussion Issue or pull request needs to be discussed by Core Team Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible Type: New Feature Issue contains a new feature or new component request labels Oct 26, 2023
@mehmetcetin01140
Copy link
Contributor

Hi,

Issue tracker is used for defects only as part of our commitment to quality and continuous improvement in all areas. Enhancements are collected as valuable community feedback and managed internally so moving this enhancement ticket to our internal project management backlog. For enhancement requests and other topics, you can open a new topic in PrimeNG Discussions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Discussion Issue or pull request needs to be discussed by Core Team Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible Type: New Feature Issue contains a new feature or new component request
Projects
None yet
Development

No branches or pull requests

2 participants