Commit a060b8b
authored
fix(popover): outsideClick should not fire on already-hidden popovers (#3101)
* fix(popover): outsideClick should not fire on already-hidden popovers
Guard the outsideClick handler to skip popovers that are already
hidden, preventing spurious hide/hidden events on closed popovers
when clicking anywhere on the page.
Closes #2513
Assisted-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* docs: changeset1 parent b1e3938 commit a060b8b
File tree
2 files changed
+9
-0
lines changed- .changeset
- elements/pf-popover
2 files changed
+9
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
351 | 351 | | |
352 | 352 | | |
353 | 353 | | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
354 | 357 | | |
355 | 358 | | |
356 | 359 | | |
| |||
0 commit comments