Commit cedc175
fix(emcn/toast): reset expanded when the stack empties
The hover wrapper unmounts without firing mouse-leave when the last toast goes
(dismiss / clear-all / navigation), so expanded could stay true and stop the
next toasts from auto-dismissing. Force expanded false whenever the stack is
empty.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 6d14ace commit cedc175
1 file changed
Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
522 | 522 | | |
523 | 523 | | |
524 | 524 | | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
| 532 | + | |
| 533 | + | |
| 534 | + | |
525 | 535 | | |
526 | 536 | | |
527 | 537 | | |
| |||
0 commit comments