Commit f9a169d
committed
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>1 parent 1377f14 commit f9a169d
2 files changed
Lines changed: 9 additions & 0 deletions
| 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