OverlayPanel: Wrong positioning on first open #13813
Labels
Resolution: Stale
Issue or pull request is inactivity and unfortunately it will be *closed* if there is no response
Status: Needs Triage
Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
Describe the bug
I'm using a button to trigger an OverlayPanel in the bottom right corner of a card. When the panel opens up for the first time, the position is wrong and it overflows. However, when I close and re-open it, everything works. Is there anything I'm missing, or is this a bug in the positioning logic?
Initial positioning:
After closing and opening the popup again, the result is as expected:
Environment
Windows 11, Chrome (bot doesn't work on any environment I've tested)
Reproducer
https://stackblitz.com/edit/bqzap2?file=src%2Fapp%2Fdemo%2Foverlay-panel-target-demo.html
Angular version
16.2.0
PrimeNG version
16.4.1
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
18.18.0
Browser(s)
all
Steps to reproduce the behavior
Just click on the information icon and see that it overflows. When closing the popup and re-open it, it has the proper positioning.
Expected behavior
No response
The text was updated successfully, but these errors were encountered: