OverlayPanel - always opens to the left of the element #675
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
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>
The text was updated successfully, but these errors were encountered: