primefaces / primefaces/primereact
Outside click in OverlayPanel (dismissable prop)
Nobody has claimed this yet.
- Dominant language
- CSS
- Stars
- 8.3k
- Forks
- 1.2k
- PR merge metrics
- No merged PRs in 30d
Description
Why was the property "dismissable" implemented in such a way that when clicking on a content, the outsider click doesn't work the first time? In my opinion, this behavior shouldn't be the default, because it looks like a bug. At the very least, I'd like to be able to disable this behavior.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with components/lib/overlaypanel/OverlayPanel.js at the linked line and reproduce the reported sequence: click content, then click outside with dismissable enabled. Trace the outside-click handling and verify the first outside click behaves as expected, or that the behavior can be disabled as requested.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100