Skip to content

feat(toast): Add delay option (Fixes #338)#419

Open
pooulad wants to merge 1 commit intotimolins:mainfrom
pooulad:main
Open

feat(toast): Add delay option (Fixes #338)#419
pooulad wants to merge 1 commit intotimolins:mainfrom
pooulad:main

Conversation

@pooulad
Copy link
Copy Markdown

@pooulad pooulad commented Dec 30, 2025

Key improvements:

  • Toasts with delay are not rendered until the delay expires
  • Full support for canceling delayed toasts via toast.dismiss(id) or toast.remove(id)
  • Auto-dismiss and exit animations work as expected after appearance
  • Minimal changes with new tests covering all scenarios

Fixes #338

@vercel
Copy link
Copy Markdown

vercel bot commented Dec 30, 2025

@pooulad is attempting to deploy a commit to the timo's Team Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add delay to toast

1 participant