timolins / react-hot-toast

Smoking Hot React Notifications 🔥
https://react-hot-toast.com
MIT License
9.55k stars 313 forks source link

Add pause on focus prop to Toaster #279

Open tamatomas opened 1 year ago

tamatomas commented 1 year ago

It is generally a good practice to pause the auto-dismiss feature of the toast component when it receives focus. This is especially important for accessibility reasons, as it allows users with screen readers or other assistive technologies to have enough time to interact with the content of the toast message. I added it as a prop but I believe it should be the default behavior so the prop is not needed IMHO.

vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
react-hot-toast ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 10, 2023 3:16pm
tamatomas commented 10 months ago

@timolins any plans to support this?