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

OverlayPanel - always opens to the left of the element #675

Closed
Etchelon opened this issue Jul 28, 2016 · 0 comments
Closed

OverlayPanel - always opens to the left of the element #675

Etchelon opened this issue Jul 28, 2016 · 0 comments
Assignees
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Milestone

Comments

@Etchelon
Copy link

Etchelon commented Jul 28, 2016

Hello,
I'm tinkering with OverlayPanel and I noticed it always opens to the left of the clicked element, even tho it is on the right of the viewport and there's no space for the panel. You should calculate the best position based on the available space or at least add an input property to let us decide the position, e.g.:
<p-overlayPanel [preferredPosition]="left"></p-overlayPanel>

@cagataycivici cagataycivici added Type: Enhancement Issue contains an enhancement related to a specific component. Additional functionality has been add Type: Bug Issue contains a bug related to a specific component. Something about the component is not working and removed Type: Enhancement Issue contains an enhancement related to a specific component. Additional functionality has been add labels Jul 29, 2016
@cagataycivici cagataycivici added this to the 1.0.0-beta.12 milestone Jul 29, 2016
@cagataycivici cagataycivici self-assigned this Jul 29, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Projects
None yet
Development

No branches or pull requests

2 participants