-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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 Component Closes on click of overlay-panel-content #14177
Comments
We have the same issue in our application, we are using calendars, checkboxes and a table in our overlayPanel and these all trigger a close of the overlayPanel for several different interactions with these components. |
#13605 was supposed to be fixed in 16.7.0 but it does not look like it was. |
We have same issues in our application, we use multiselect inside overlay-panel, when we delete selected item on multiselect, overlay-panel close. We believe that the problem is that the event to remove the element from the multiselect arrives before and delete selection, and then the overlay-panel check to see if the click has come from a component inside it and it is not on its list and decide to close the overlay. bindDocumentClickListener() { |
e26b9ee this commit removed the check for !this.selfclick which is set by
|
Hello,
|
Having the same issue with current PrimeNG version 16.9.1. |
Problem solved by adding this to the multiselect tag : |
appendTo="body" does not resolve the issue with inline calendar in overlay panels. |
simple #14120 (comment) for those that search a workaround |
this bug continues on primeNg 16.9.1 |
Describe the bug
Hello, I'm experiencing an issue between PrimeNG versions. In version 16.8.0, the overlay is closing when clicking it's own content.
To make the scenario clear, I'm using p-calendar (selectionMode="range") inside p-overlayPanel for some purpose. On selecting the date it's okay, but on click of month change icons, month, year and in month/year selection mode selecting month and year it's getting closed.
This issue was not occurred in v16.2.0, but in latest version eg: v16.7.2, v16.8.0 this issue occurs.
Environment
Windows 10
Reproducer
https://stackblitz.com/edit/overlay-panel-close-on-its-content-v16-8-0?file=package.json
Angular version
16.2.1
PrimeNG version
^16.8.0
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
18.10.0
Browser(s)
All, Chrome, Edge latest version
Steps to reproduce the behavior
Expected behavior
The text was updated successfully, but these errors were encountered: