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
Owner

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.

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.
Michilis added 1 commit 2026-09-19 18:16:34 +00:00
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>
Michilis merged commit ef32d5a917 into main 2026-09-19 18:16:41 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Michilis/Spanglish#37