OverlayPanel | Close icon overflows in small screen (flipped) #11796
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
Describe the bug
When the overlapanel flips the space is not calculated properly and the close button is cut off.
Environment
Reproducer
No response
Angular version
13.0.2
PrimeNG version
13.3.1
Build / Runtime
Angular CLI App
Language
ALL
Node version (for AoT issues node --version)
16.13.0
Browser(s)
Chrome 103.0.5060.66, Firefox 97.0.2
Steps to reproduce the behavior
Open an overlaypanel with not enough space below so that it flips. Adjust the view port until the overlaypanel window fits in the space above the target but not the close icon.
Expected behavior
The close button should be taken into account when calculating the space the overlay needs.
The text was updated successfully, but these errors were encountered: