Originally posted by **sumit-piq** May 15, 2024
We have used Overlaypanel to show a list of users with a checkbox to select the user to assign for an operation. When we click on the checkbox it gets checked correctly. However, when we click the same checkbox to uncheck, it closes the overlaypanel. I tried it on the stackblitz example https://stackblitz.com/edit/xgyffz?file=src%2Fapp%2Fdemo%2Foverlay-panel-template-demo.html it's behaving the same.
https://github.com/primefaces/community/assets/97018709/c95b918e-6dd0-450c-8f25-93b3633f1df7
```
Custom Content
```
Please update if it is discussed or resolved in any earlier thread.
Discussed in https://github.com/orgs/primefaces/discussions/1917
Custom Content