Close door-screen toasts on our own timer so they dismiss on touchscreens. #37

Merged
Michilis merged 1 commits from dev into main 2026-09-19 18:16:41 +00:00
1 Commits
Author SHA1 Message Date
MichilisandClaude Fable 5.1 515707c9e4 Close door-screen toasts on our own timer so they dismiss on touchscreens.
react-hot-toast pauses every countdown while the pointer is inside the
Toaster and schedules no dismissal for toasts created while paused. On a
touchscreen, tapping the Undo button synthesizes a mouseenter with no
mouseleave, so the "Undone" toast never went away. Every toast on the
door screen now uses duration: Infinity and is closed by dismissAfter.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-19 17:54:49 +00:00